From d56e2ec9f05d97c3c8834404b32f51201c2b688e Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 9 Apr 2016 10:42:17 +0000 Subject: Fix typos. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Text_Buffer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Text_Buffer.cxx') 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; -- cgit v1.2.3