shithub: puzzles

Download patch

ref: 20921e613e78599dfbef2d805d3bf3dfad39a7e6
parent: 7ba4c00b981893d99ce47e6e43d773ff1168ff88
author: Simon Tatham <anakin@pobox.com>
date: Tue May 4 07:20:47 EDT 2004

Forgot to initialise the font variables in the Windows frontend structure.

[originally from svn r4200]

--- a/windows.c
+++ b/windows.c
@@ -328,6 +328,9 @@
 
     fe->timer = 0;
 
+    fe->fonts = NULL;
+    fe->nfonts = fe->fontsize = 0;
+
     {
 	int i, ncolours;
         float *colours;