chiark / gitweb /
Forgot to initialise the font variables in the Windows frontend structure.
authorSimon Tatham <anakin@pobox.com>
Tue, 4 May 2004 11:20:47 +0000 (11:20 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 4 May 2004 11:20:47 +0000 (11:20 +0000)
[originally from svn r4200]

windows.c

index 6fb651cd5a59fdd761d46ffe51311fe0cf0c4c29..4213e4cd87a98b91ac45da0567689287ec613bcc 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;