summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2012-03-02 16:23:28 +0000
committerManolo Gouy <Manolo>2012-03-02 16:23:28 +0000
commit7c4e99297756184da52842ddc9b233b5e5aeb1c9 (patch)
tree8c5069bacb7459bb7784d3d667389028da027023
parent4ce583c0f841bb608d399e2427727b7752818f43 (diff)
Minor comment rewording
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Text_Buffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx
index 887983137..b192c8d49 100644
--- a/src/Fl_Text_Buffer.cxx
+++ b/src/Fl_Text_Buffer.cxx
@@ -1642,7 +1642,7 @@ static int utf8_input_filter(char *buffer, // result buffer we fill with utf8
if (q + lq > buffer + buflen) { // encoding would walk off end of buffer[]?
memmove(line, p, endline - p); // re-jigger line[] buffer for next call
endline -= (p - line); // adjust end of line[] buffer for next call
- return q - buffer; // return what's decoded so far, caller will enlarge buffer
+ return q - buffer; // return what's decoded so far, caller will consume buffer
}
memcpy(q, multibyte, lq);
q += lq;