From 2fa7db7a2d34973a168f90e6605ce123b293cf13 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Sat, 30 Jul 2011 13:53:25 +0200 Subject: skin definitions: added simple support for including files; increased graphlcd-base version to 0.3.0 and version of included libraries to 2.1.0; bug fix: don't syslog a detection of an invalid number when evaluating in cSkinFunction (just return that this is obviously not a valid function) --- glcdskin/function.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'glcdskin/function.c') diff --git a/glcdskin/function.c b/glcdskin/function.c index 9815073..c6089bc 100644 --- a/glcdskin/function.c +++ b/glcdskin/function.c @@ -128,7 +128,8 @@ bool cSkinFunction::Parse(const std::string & Text) int num = strtol(ptr, &end, 10); if (end == ptr || *end != '\0') { - syslog(LOG_ERR, "ERROR: Invalid numeric value\n"); + // don't log this because when parsing a string starting with a digit (eg: 0%) this may result in a load of false positives + //syslog(LOG_ERR, "ERROR: Invalid numeric value (%s)\n", Text.c_str()); return false; } -- cgit v1.2.3