diff options
author | Darkvater <darkvater@openttd.org> | 2006-01-26 16:19:24 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-01-26 16:19:24 +0000 |
commit | 2612d485506311f7bc9858af2bd8702939058f84 (patch) | |
tree | 121941aa494a22ee9c09b0ba52e6c0d61f8a8fba /window.h | |
parent | bc450bbc9a48e5d6b776eee0f02b76d533e5279a (diff) | |
download | openttd-2612d485506311f7bc9858af2bd8702939058f84.tar.xz |
(svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there.
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -258,7 +258,7 @@ typedef struct querystr_d { // than on a 32-bit system. Therefore, the size is calculated from querystr_d // instead of a hardcoded number. // if any struct becomes bigger the querystr_d, it should be replaced. -#define WINDOW_CUSTOM_SIZE sizeof(querystr_d) +#define WINDOW_CUSTOM_SIZE sizeof(querystr_d) * 2 typedef struct Scrollbar { uint16 count, cap, pos; |