Make default background colour white
authorThomas White <taw@bitwiz.me.uk>
Tue, 26 Jun 2018 21:56:57 +0000 (23:56 +0200)
committerThomas White <taw@bitwiz.me.uk>
Tue, 26 Jun 2018 21:56:57 +0000 (23:56 +0200)
src/sc_interp.c

index 33a9d19..3b7d913 100644 (file)
@@ -689,12 +689,12 @@ SCInterpreter *sc_interp_new(PangoContext *pc, PangoLanguage *lang,
        st->col[3] = 1.0;
        st->alignment = PANGO_ALIGN_LEFT;
        st->bgcol[0] = 1.0;
-       st->bgcol[1] = 0.0;
-       st->bgcol[2] = 0.0;
+       st->bgcol[1] = 1.0;
+       st->bgcol[2] = 1.0;
        st->bgcol[3] = 1.0;
        st->bgcol2[0] = 1.0;
-       st->bgcol2[1] = 0.0;
-       st->bgcol2[2] = 0.0;
+       st->bgcol2[1] = 1.0;
+       st->bgcol2[2] = 1.0;
        st->bgcol2[3] = 1.0;
        st->bggrad = GRAD_NONE;
        scin->lang = lang;