summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Popup/src/formula.cpp2
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);