passed to printf() is not allowing certain valid printf() style operations
which make text alignment much more fun.
-- Richard A Steenbergen <ras@e-gerbil.net>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@131
a5681a0c-68f1-0310-ab6d-
d61299d08faa
ptr++;
n++;
if (*ptr == '\0') return 1;
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; }
if (*ptr == 'e' || *ptr == 'f') {
ptr++;
} else { return 1; }