Forgot to initialise the font variables in the Windows frontend structure.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 11:20:47 +0000 (11:20 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 11:20:47 +0000 (11:20 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4200 cda61777-01e9-0310-a592-d414129be87e

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;