Author: matt
Date: 2010-11-03 15:11:20 -0700 (Wed, 03 Nov 2010)
New Revision: 7793
Log:
Uninitialized variable.
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-11-03 22:01:43 UTC (rev
7792)
+++ branches/branch-1.3/src/Fl_Text_Display.cxx 2010-11-03 22:11:20 UTC (rev
7793)
@@ -1410,7 +1410,7 @@
}
// draw the line
- style = position_style(lineStartPos, lineLen, i);
+ style = position_style(lineStartPos, lineLen, 0);
for (i=0; i<lineLen; ) {
int len = fl_utf8len(lineStr[i]);
charStyle = position_style(lineStartPos, lineLen, i);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit