From: oetiker Date: Wed, 25 Aug 2010 20:15:26 +0000 (+0000) Subject: make sure an extra %s in the secondi axis format does not kill us X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c0a49837553883ada0b4f90448872bee025fdbf;p=rrdtool-all.git make sure an extra %s in the secondi axis format does not kill us git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 5c739bec..d15ce3d2 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -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,