Skip to content

Commit

Permalink
Uninitialized variable.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Nov 3, 2010
1 parent cac40a9 commit 644fe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_Text_Display.cxx
Expand Up @@ -1410,7 +1410,7 @@ int Fl_Text_Display::handle_vline(
}

// 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);
Expand Down

0 comments on commit 644fe62

Please sign in to comment.