json/json.patch

Thu, 04 Oct 2012 20:08:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:08:55 +0200
changeset 711
e5faec28ec63
permissions
-rw-r--r--

Back out changes in 2.17.3:rateup.c disabling unit abbreviation.
Even when properly specifying 'kMG', the weekly, monthly, and yearly
graphs would not include abbreviated (with kMG postfix) values but
instead a very long figure such as '12000000.0 k' in the short legend.
The daily graphs don't suffer this problem, more research is needed.

     1 Index: zzjson-1.1.0/src/zzjson_parse.c
     2 --- zzjson-1.1.0/src/zzjson_parse.c.orig	2009-08-16 02:49:38 +0200
     3 +++ zzjson-1.1.0/src/zzjson_parse.c	2009-11-18 19:49:55 +0100
     4 @@ -9,6 +9,7 @@
     5  #include <math.h>
     6  #include <stdio.h>
     8 +#undef getchar
     9  #define GETC()          config->getchar(config->ihandle)
    10  #define UNGETC(c)       config->ungetchar(c, config->ihandle)
    11  #define SKIPWS()        skipws(config)

mercurial