Fix STR #2649: fl_measure() did not handle well double @@ at line start.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8763 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8c6864adea
commit
2e397fcd81
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user