From f8cbf7e066f2f3980283fcffdff886a68fa2f3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Fri, 20 Jul 2018 22:36:54 +0200 Subject: [PATCH] use enum name instead of pure integer value --- latex-output/latex-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex-output/latex-output.c b/latex-output/latex-output.c index 73c4ad2..ca8c9e6 100644 --- a/latex-output/latex-output.c +++ b/latex-output/latex-output.c @@ -116,7 +116,7 @@ static void generate_graphics(FILE *tex_file, GList *graphics, GList *linfo, GSt if (gfx->path_render_type < 0 || gfx->path_render_type > 2) { printf("Path type unrecognized. Setting to 'flushed'\n"); - gfx->path_render_type = 0; + gfx->path_render_type = PATH_FLUSH; } g_string_printf(buffer, "\\draw[line width=%lf pt, draw={c%d}, opacity={%lf}, cap=%s] ",