diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-04-09 10:42:17 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-04-09 10:42:17 +0000 |
| commit | d56e2ec9f05d97c3c8834404b32f51201c2b688e (patch) | |
| tree | e0bc5d3b6c20bc2e79d0dff8432192d6327740ef /src/Fl_Text_Buffer.cxx | |
| parent | 72ced0ddd3f02548e978b51891d155eff1245a4e (diff) | |
Fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Buffer.cxx')
| -rw-r--r-- | src/Fl_Text_Buffer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index f57d7bd59..c4a935a81 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -1,7 +1,7 @@ // // "$Id$" // -// Copyright 2001-2010 by Bill Spitzak and others. +// Copyright 2001-2016 by Bill Spitzak and others. // Original code Copyright Mark Edel. Permission to distribute under // the LGPL for the FLTK library granted by Mark Edel. // @@ -1569,7 +1569,7 @@ static int general_input_filter(char *buffer, int buflen, if (r == 0) return q - buffer; p = line; } - if (q + 4 /*max width of utf-8 char*/ > buffer + buflen) { + if (q + 4 /*max width of UTF-8 char*/ > buffer + buflen) { memmove(line, p, endline - p); endline -= (p - line); return q - buffer; |
