Skip to content

Commit

Permalink
Fix STR #2649: fl_measure() did not handle well double @@ at line start.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed May 30, 2011
1 parent 8c6864a commit 2e397fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fl_draw.cxx
Expand Up @@ -441,7 +441,7 @@ void fl_measure(const char* str, int& w, int& h, int draw_symbols) {
w != 0, draw_symbols);
if ((int)ceil(width) > W) W = (int)ceil(width);
lines++;
if (!*e || (*e == '@' && draw_symbols)) break;
if (!*e || (*e == '@' && e[1] != '@' && draw_symbols)) break;
p = e;
}

Expand Down

0 comments on commit 2e397fc

Please sign in to comment.