diff options
author | George Hazan <ghazan@miranda.im> | 2017-07-13 00:20:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-07-13 00:22:05 +0300 |
commit | d1740cdaf2e563532fb7441e263c51dd98a1d3bd (patch) | |
tree | 9230c7f8ddd9cf1cecf7e581615cacbea5509a9b /plugins | |
parent | cad541f834f90a5fc6ce00e4f1943afc8b6d3536 (diff) |
fixes #860
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Popup/src/formula.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/formula.cpp b/plugins/Popup/src/formula.cpp index 601d0e6cca..0151fb2c9b 100644 --- a/plugins/Popup/src/formula.cpp +++ b/plugins/Popup/src/formula.cpp @@ -123,7 +123,7 @@ int Formula::eval_atom(wchar_t *&s, Args *args, bool *vars) const return 0;
char buf[1024];
char *bufptr = buf;
- while (((*s >= '0') && (*s <= '9')) || ((*s >= 'a') && (*s <= 'z')) || ((*s >= 'A') && (*s <= 'A')) || (*s == '_') || (*s == '.'))
+ while (((*s >= '0') && (*s <= '9')) || ((*s >= 'a') && (*s <= 'z')) || ((*s >= 'A') && (*s <= 'Z')) || (*s == '_') || (*s == '.'))
*bufptr++ = *s++;
*bufptr = 0;
int res = args->get(buf);
|