Initialise fgcol
authorThomas White <taw@bitwiz.me.uk>
Sun, 29 Apr 2018 20:29:20 +0000 (22:29 +0200)
committerThomas White <taw@bitwiz.me.uk>
Sun, 29 Apr 2018 20:29:20 +0000 (22:29 +0200)
src/sc_interp.c

index 9ee6e34..0386acc 100644 (file)
@@ -630,6 +630,10 @@ SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang,
        st->paraspace[3] = 0.0;
        st->fontdesc = NULL;
        st->have_size = 0;
+       st->col[0] = 0.0;
+       st->col[1] = 0.0;
+       st->col[2] = 0.0;
+       st->col[3] = 1.0;
        st->alignment = PANGO_ALIGN_LEFT;
 
        scin->lang = lang;