aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-05-04 11:20:47 +0000
committerSimon Tatham <anakin@pobox.com>2004-05-04 11:20:47 +0000
commit20921e613e78599dfbef2d805d3bf3dfad39a7e6 (patch)
treec4ce60f492bf807f419880c81eaac5b07f470601
parent7ba4c00b981893d99ce47e6e43d773ff1168ff88 (diff)
downloadpuzzles-20921e613e78599dfbef2d805d3bf3dfad39a7e6.zip
puzzles-20921e613e78599dfbef2d805d3bf3dfad39a7e6.tar.gz
puzzles-20921e613e78599dfbef2d805d3bf3dfad39a7e6.tar.bz2
puzzles-20921e613e78599dfbef2d805d3bf3dfad39a7e6.tar.xz
Forgot to initialise the font variables in the Windows frontend structure.
[originally from svn r4200]
-rw-r--r--windows.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/windows.c b/windows.c
index 6fb651c..4213e4c 100644
--- 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;