Author: AlbrechtS
Date: 2010-12-20 09:32:36 -0800 (Mon, 20 Dec 2010)
New Revision: 8078
Log:
Removed unnecessary function call (the result is always 1).


Modified:
   branches/branch-1.3/src/Fl_Text_Display.cxx

Modified: branches/branch-1.3/src/Fl_Text_Display.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Text_Display.cxx 2010-12-20 14:48:38 UTC (rev 
8077)
+++ branches/branch-1.3/src/Fl_Text_Display.cxx 2010-12-20 17:32:36 UTC (rev 
8078)
@@ -3284,7 +3284,7 @@
   
   c = buffer()->char_at(lineEndPos);
   return c == '\n' || ((c == '\t' || c == ' ') &&
-                       lineEndPos + fl_utf8len1(c) < buffer()->length());
+                       lineEndPos + 1 < buffer()->length());
 }
 
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to