mirror of
https://github.com/fltk/fltk.git
synced 2026-09-29 16:23:13 +08:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user