chart: Fix format string issues in draw_tick callers.
authorBen Pfaff <blp@gnu.org>
Thu, 2 Jul 2009 03:56:17 +0000 (20:56 -0700)
committerBen Pfaff <blp@gnu.org>
Thu, 2 Jul 2009 14:53:35 +0000 (07:53 -0700)
The 'label' argument to draw_tick is used as a printf-type format string,
so callers must pass "%s" to safely use an arbitrary string as a label.

Also, hist_draw_bar was doing its own snprintf, but this commit changes it
to take advantage of that provided by draw_tick.


No differences found