From 2bf6fa6074303c8c7bcd16736be6e244dcaf3c39 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 5 Apr 2010 22:26:29 +0000 Subject: A few more comments. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Text_Display.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 ); -- cgit v1.2.3