diff options
| author | Manolo Gouy <Manolo> | 2012-03-02 16:23:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-03-02 16:23:28 +0000 |
| commit | 7c4e99297756184da52842ddc9b233b5e5aeb1c9 (patch) | |
| tree | 8c5069bacb7459bb7784d3d667389028da027023 /src | |
| parent | 4ce583c0f841bb608d399e2427727b7752818f43 (diff) | |
Minor comment rewording
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 2 |
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; |
