avoid to use 0 instead of NULL
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 09:57:07 +0000 (11:57 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 24 Sep 2014 09:57:07 +0000 (11:57 +0200)
src/graph.c

index 792bb25..b64e3f7 100644 (file)
@@ -252,7 +252,7 @@ static void draw_background_lines(cairo_t *cr,
        cairo_stroke(cr);
 
        /* back to normal line style */
-       cairo_set_dash(cr, 0, 0, 0);
+       cairo_set_dash(cr, NULL, 0, 0);
 }
 
 /* Keys: sensor identifier.