From 58e465692f6b252c25de6427deb6183fd04dda64 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Tue, 7 Aug 2018 15:32:17 -0400 Subject: [PATCH] Fix for https://github.com/brndnmtthws/conky/issues/20#issuecomment-411164643 (#585) --- src/algebra.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algebra.cc b/src/algebra.cc index 66dfd2d6..4e1d36e2 100644 --- a/src/algebra.cc +++ b/src/algebra.cc @@ -155,7 +155,7 @@ enum arg_type get_arg_type(const char *arg) { if (p == e + 1) { return ARG_LONG; } - if (*p == '.') { + if (*p == '.' || *p == ',') { p++; while (p <= e) { if (isdigit((unsigned char)*p) == 0) {