Code

make sure an extra %s in the secondi axis format does not kill us
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 25 Aug 2010 20:15:26 +0000 (20:15 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 25 Aug 2010 20:15:26 +0000 (20:15 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index 5c739becc9cf8459cbdaf0042f957815ce2cc2b4..d15ce3d20725ef14e5761851b630f5ad6e6a41c7 100644 (file)
@@ -2301,7 +2301,7 @@ int horizontal_log_grid(
                         }
                 }
                 else {
-                      sprintf(graph_label_right,im->second_axis_format,sval);
+                      sprintf(graph_label_right,im->second_axis_format,sval,"");
                 }
 
                 gfx_text ( im,