diff --git a/src/rrd_graph.c b/src/rrd_graph.c
index 24b58d08bf48b9b8264789aa340aeb382a1c8bc9..a93fbb1c52708ca3d047630eb587434c6ac29a00 100644 (file)
--- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
prt_fctn != 'r' &&
prt_fctn != 'j' &&
prt_fctn != 'c' &&
+ prt_fctn != 'u' &&
prt_fctn != 's' && prt_fctn != '\0' && prt_fctn != 'g') {
free(legspace);
rrd_set_error
leg_y += im->text_prop[TEXT_PROP_LEGEND].size * 1.8;
if (prt_fctn == 's')
leg_y -= im->text_prop[TEXT_PROP_LEGEND].size;
+ if (prt_fctn == 'u')
+ leg_y -= im->text_prop[TEXT_PROP_LEGEND].size *1.8;
if(calc_width && (fill > legendwidth)){
legendwidth = fill;