]> granicus.if.org Git - graphviz/commitdiff
all '+' in number strings - patch from: yuri@rawbw.com
authorellson <devnull@localhost>
Thu, 19 Feb 2009 01:57:08 +0000 (01:57 +0000)
committerellson <devnull@localhost>
Thu, 19 Feb 2009 01:57:08 +0000 (01:57 +0000)
lib/graph/graphio.c

index f916c7950fffee943aaaa7ac624e2232ea59e43f..c3e2cf895b350dd1c623bbc4b2df108316988e77 100644 (file)
@@ -95,7 +95,7 @@ int agerrors(void)
 static int
 _is_number_char(char c)
 {
-    return (isdigit(c) || c == '.' || c == '-');
+    return (isdigit(c) || c == '.' || c == '-' || c == '+');
 }
 
 /* _agstrcanon: