summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Display.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-04-05 22:26:29 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-04-05 22:26:29 +0000
commit2bf6fa6074303c8c7bcd16736be6e244dcaf3c39 (patch)
tree6d4e263d4f72c8d02a73d9f9861805a7520c9198 /src/Fl_Text_Display.cxx
parent61cf49ddfce0cbf26a769928df9be7093ed88366 (diff)
A few more comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Text_Display.cxx')
-rw-r--r--src/Fl_Text_Display.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index 0b72b39d3..4d1441240 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -1506,7 +1506,7 @@ void Fl_Text_Display::draw_vline(int visLineNum, int leftClip, int rightClip,
buf->tab_distance());
charStyle = position_style( lineStartPos, lineLen, charIndex,
outIndex + dispIndexOffset );
- for ( i = 0; i < charLen; i++ ) {
+ for ( i = 0; i < charLen; i++ ) { // FIXME: this rips apart the utf-8 sequneces
if ( i != 0 && charIndex < lineLen && lineStr[ charIndex ] == '\t' )
charStyle = position_style( lineStartPos, lineLen,
charIndex, outIndex + dispIndexOffset );
@@ -1548,7 +1548,7 @@ void Fl_Text_Display::draw_vline(int visLineNum, int leftClip, int rightClip,
buf->tab_distance());
charStyle = position_style( lineStartPos, lineLen, charIndex,
outIndex + dispIndexOffset );
- for ( i = 0; i < charLen; i++ ) {
+ for ( i = 0; i < charLen; i++ ) { // FIXME: this rips apart the utf-8 sequneces
if ( i != 0 && charIndex < lineLen && lineStr[ charIndex ] == '\t' )
charStyle = position_style( lineStartPos, lineLen,
charIndex, outIndex + dispIndexOffset );