diff options
author | ludde <ludde@openttd.org> | 2005-07-15 15:09:52 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-15 15:09:52 +0000 |
commit | a069876725080c783a7def816081867a2574d3a0 (patch) | |
tree | 37eff27994a6fc0a501ac19e29cb3cefde9dc65b /player_gui.c | |
parent | 2fa79c9b4d140f78e5e6392aded7beebeec5c230 (diff) | |
download | openttd-a069876725080c783a7def816081867a2574d3a0.tar.xz |
(svn r2573) Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the new string system.
Also fixed a bug introduced in r2564, forgot to remove 4 global variables in network_gui.c.
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/player_gui.c b/player_gui.c index d58eb0360..e3f21768f 100644 --- a/player_gui.c +++ b/player_gui.c @@ -182,7 +182,7 @@ static void PlayerFinancesWndProc(Window *w, WindowEvent *e) static const WindowDesc _player_finances_desc = { -1,-1, 407, 216, WC_FINANCES,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESTORE_DPARAM | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _player_finances_widgets, PlayerFinancesWndProc }; @@ -190,7 +190,7 @@ static const WindowDesc _player_finances_desc = { static const WindowDesc _player_finances_small_desc = { -1,-1, 280, 60, WC_FINANCES,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESTORE_DPARAM | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _player_finances_small_widgets, PlayerFinancesWndProc }; @@ -198,7 +198,7 @@ static const WindowDesc _player_finances_small_desc = { static const WindowDesc _other_player_finances_desc = { -1,-1, 407, 204, WC_FINANCES,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESTORE_DPARAM | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _other_player_finances_widgets, PlayerFinancesWndProc }; @@ -206,7 +206,7 @@ static const WindowDesc _other_player_finances_desc = { static const WindowDesc _other_player_finances_small_desc = { -1,-1, 280, 48, WC_FINANCES,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESTORE_DPARAM | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _other_player_finances_small_widgets, PlayerFinancesWndProc }; |