diff options
author | belugas <belugas@openttd.org> | 2006-10-04 19:11:43 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-10-04 19:11:43 +0000 |
commit | 6444b0e781b7de0c1d6ca10516e190e3abc5cea6 (patch) | |
tree | 1dc99947a62401f0916ac006baeea24f68e8382e /settings_gui.c | |
parent | ddb46fe8d8e030f0acd4f5ce105cd2a92b670636 (diff) | |
download | openttd-6444b0e781b7de0c1d6ca10516e190e3abc5cea6.tar.xz |
(svn r6639) -CodeChange : Conversion of SetWidgetLoweredState to SetWindowWidgetLoweredState, in order to follow pre-established standard
Diffstat (limited to 'settings_gui.c')
-rw-r--r-- | settings_gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings_gui.c b/settings_gui.c index 1284a79de..6530aa137 100644 --- a/settings_gui.c +++ b/settings_gui.c @@ -108,7 +108,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e) i = GetCurRes(); SetDParam(7, i == _num_resolutions ? STR_RES_OTHER : SPECSTR_RESOLUTION_START + i); SetDParam(8, SPECSTR_SCREENSHOT_START + _cur_screenshot_format); - SetWidgetLoweredState(w, 28, _fullscreen); + SetWindowWidgetLoweredState(w, 28, _fullscreen); DrawWindowWidgets(w); DrawString(20, 175, STR_OPTIONS_FULLSCREEN, 0); // fullscreen @@ -152,7 +152,7 @@ static void GameOptionsWndProc(Window *w, WindowEvent *e) ShowDropDownMenu(w, BuildDynamicDropdown(SPECSTR_RESOLUTION_START, _num_resolutions), GetCurRes(), 27, 0, 0); return; case 28: /* Click fullscreen on/off */ - SetWidgetLoweredState(w, 28, !_fullscreen); + SetWindowWidgetLoweredState(w, 28, !_fullscreen); ToggleFullScreen(!_fullscreen); // toggle full-screen on/off SetWindowDirty(w); return; |