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
commit3319eb0b3fd29ada15d6c872de31598ca34001c4 (patch)
tree1dc99947a62401f0916ac006baeea24f68e8382e /window.h
parent0fcd83643434cd8bd3d8845f09b7b2ba39cab6f1 (diff)
downloadopenttd-3319eb0b3fd29ada15d6c872de31598ca34001c4.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);
}