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
commita91c2a4c395fc532ada8a097ff05b41d69d7ee3d (patch)
tree4c9dc0c05cd700da1675c02c334dcc834adf512c /src/window.h
parenteeaa348f8bfafae1a6e56b857a97d9d23577dcac (diff)
downloadopenttd-a91c2a4c395fc532ada8a097ff05b41d69d7ee3d.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);
}
/**