From d1740cdaf2e563532fb7441e263c51dd98a1d3bd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Jul 2017 00:20:07 +0300 Subject: fixes #860 --- plugins/Popup/src/formula.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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); -- cgit v1.2.3