diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_draw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 762a33b47..d1fe15839 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -305,7 +305,7 @@ void fl_measure(const char* str, int& w, int& h, int draw_symbols) { symwidth[0] = h; } - if (str && (p = strrchr(str, '@')) != NULL && p > (str + 1)) { + if (str && (p = strrchr(str, '@')) != NULL && p > (str + 1) && p[-1]!='@') { strlcpy(symbol[1], p, sizeof(symbol[1])); symwidth[1] = h; } |
