From 6f3a47ba8da79b91b099b55a90b2fa123c686d19 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 28 Apr 2002 19:13:04 +0000 Subject: [PATCH] inserted PRINT checker at the wrong point ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@132 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 55f6cee..89a67c0 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3254,13 +3254,13 @@ int bad_format(char *fmt) { ptr++; } if (*ptr == '\0') return 1; + else if (*ptr == ' ') ptr++; + else if (*ptr == '-') ptr++; + else if (*ptr == '+') ptr++; if (*ptr == 'l') { ptr++; n++; if (*ptr == '\0') return 1; - else if (*ptr == ' ') ptr++; - else if (*ptr == '-') ptr++; - else if (*ptr == '+') ptr++; if (*ptr == 'e' || *ptr == 'f') { ptr++; } else { return 1; } -- 2.30.2