summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
commitf92f3aec06203081ca8fadcbc5fb652e92bf8e30 (patch)
tree4c9dc0c05cd700da1675c02c334dcc834adf512c /src/window.h
parent3ae50673a3e1e64a6038c53570c5ee168073e038 (diff)
downloadopenttd-f92f3aec06203081ca8fadcbc5fb652e92bf8e30.tar.xz
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index 00cf40b98..9a80c44be 100644
--- a/src/window.h
+++ b/src/window.h
@@ -714,7 +714,7 @@ static inline void SetWindowWidgetLoweredState(Window *w, byte widget_index, boo
static inline void ToggleWidgetLoweredState(Window *w, byte widget_index)
{
assert(widget_index < w->widget_count);
- TOGGLEBIT(w->widget[widget_index].display_flags, WIDG_LOWERED);
+ ToggleBit(w->widget[widget_index].display_flags, WIDG_LOWERED);
}
/**