Code

fix rendering of the color spots especially when proportional fonts are in use.
[rrdtool.git] / src / rrd_graph_helper.c
index 375521c25137250b8a0d1fd1d1960c331291e55a..e857df85be69e08f4294437a6d33554b45ccdfbc 100644 (file)
@@ -402,9 +402,9 @@ rrd_parse_PVHLAST(char *line, unsigned int *eaten, graph_desc_t *gdp, image_desc
            /* If the legend is not empty, it has to be prefixed with "m ". This then gets
             * replaced by the color box later on. */
             (*eaten)--;
-            linecp[*eaten]=' ';
+            linecp[*eaten]='o';
             (*eaten)--;
-            linecp[*eaten]='m';
+            linecp[*eaten]='o';
        }
 
        if (rrd_parse_legend(linecp, eaten, gdp)) err=1;