summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-10-04 19:11:43 +0000
committerbelugas <belugas@openttd.org>2006-10-04 19:11:43 +0000
commit6444b0e781b7de0c1d6ca10516e190e3abc5cea6 (patch)
tree1dc99947a62401f0916ac006baeea24f68e8382e /window.h
parentddb46fe8d8e030f0acd4f5ce105cd2a92b670636 (diff)
downloadopenttd-6444b0e781b7de0c1d6ca10516e190e3abc5cea6.tar.xz
(svn r6639) -CodeChange : Conversion of SetWidgetLoweredState to SetWindowWidgetLoweredState, in order to follow pre-established standard
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index faaf16646..c9492955c 100644
--- a/window.h
+++ b/window.h
@@ -695,7 +695,7 @@ static inline bool IsWindowWidgetHidden(Window *w, byte widget_index)
* @param widget_index : index of this widget in the window
* @param hidden_stat : status to use ie: lowered = true, raised = false
*/
-static inline void SetWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)
+static inline void SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)
{
SB(w->click_state, widget_index, 1, !!lowered_stat);
}