diff options
author | alberth <alberth@openttd.org> | 2009-07-12 12:19:41 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-07-12 12:19:41 +0000 |
commit | 9efd32d13ce11aedf020cd2ce9eddc2ccaa72d32 (patch) | |
tree | 92eabbfe0803a88ac29ae6d9dfcd51c000ffb2ca /src/gfx.cpp | |
parent | c94c18fc0ad33c89583cd5fa4158a4abd89fd07e (diff) | |
download | openttd-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.cpp | 3 |
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(); } /** |