aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-04-29 22:29:20 +0200
committerThomas White <taw@bitwiz.me.uk>2018-04-29 22:29:20 +0200
commitf12721c1e23c98592de14e5659f9e6a747f69643 (patch)
tree6260df8a733ca4ccea8de18958d571a78e1745e4
parent7604d35942733575e7314630fa54f70fd4849340 (diff)
Initialise fgcol
-rw-r--r--src/sc_interp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 9ee6e34..0386acc 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -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;