From f9b92b9d5b4498b737db8161b2b01019a84f7b49 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 25 Aug 2010 20:15:26 +0000 Subject: [PATCH] make sure an extra %s in the secondi axis format does not kill us git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 8f5f44f9..022ca27d 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -1,4 +1,4 @@ -/**************************************************************************** +/****************************************************************************s * RRDtool 1.3.9 Copyright by Tobi Oetiker, 1997-2009 **************************************************************************** * rrd__graph.c produce graphs from data in rrdfiles @@ -2005,7 +2005,7 @@ int draw_horizontal_grid( } } else { - sprintf(graph_label_right,im->second_axis_format,sval); + sprintf(graph_label_right,im->second_axis_format,sval,""); } gfx_text ( im, X1+7, Y0, -- 2.30.2