summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-07-12 12:19:41 +0000
committeralberth <alberth@openttd.org>2009-07-12 12:19:41 +0000
commit9efd32d13ce11aedf020cd2ce9eddc2ccaa72d32 (patch)
tree92eabbfe0803a88ac29ae6d9dfcd51c000ffb2ca /src/gfx.cpp
parentc94c18fc0ad33c89583cd5fa4158a4abd89fd07e (diff)
downloadopenttd-9efd32d13ce11aedf020cd2ce9eddc2ccaa72d32.tar.xz
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 482427a72..58373d898 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -20,6 +20,7 @@
#include "network/network_func.h"
#include "core/smallvec_type.hpp"
#include "thread.h"
+#include "window_func.h"
#include "table/palettes.h"
#include "table/sprites.h"
@@ -1227,6 +1228,8 @@ void LoadStringWidthTable()
for (i = 0; i != 224; i++) {
_stringwidth_table[FS_LARGE][i] = GetGlyphWidth(FS_LARGE, i + 32);
}
+
+ ReInitAllWindows();
}
/**