Forgot to initialise the font variables in the Windows frontend structure.
[sgt/puzzles] / windows.c
index 6fb651c..4213e4c 100644 (file)
--- a/windows.c
+++ b/windows.c
@@ -328,6 +328,9 @@ static frontend *new_window(HINSTANCE inst)
 
     fe->timer = 0;
 
+    fe->fonts = NULL;
+    fe->nfonts = fe->fontsize = 0;
+
     {
        int i, ncolours;
         float *colours;