From 9f2544ee94ae280dce7ac7203fccdb0039da34c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 3 Feb 2019 22:50:34 +0100 Subject: [PATCH] fix double 0 in layer mapping --- layer-selector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layer-selector.c b/layer-selector.c index cac149b..f63559b 100644 --- a/layer-selector.c +++ b/layer-selector.c @@ -337,7 +337,7 @@ static void create_csv_line(LayerElement *layer_element, char *line_buffer, size layer_element_get_color(layer_element, &color); /* print values to line */ - g_string_printf(string, "%d:%lf:%lf:0%lf:%lf:%d:%s\n", + g_string_printf(string, "%d:%lf:%lf:%lf:%lf:%d:%s\n", layer, color.red, color.green, color.blue, color.alpha, (export == TRUE ? 1 : 0), name); /* Fix broken locale settings */