diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 21:02:30 +0000 |
commit | 71c4325c50ae594a5adf01cac7c9e527b239cdcb (patch) | |
tree | 21212e0b25777aac62f30d88b981e2bd624c4616 /src/window.h | |
parent | 58bb5c752568f8f9a1cb4d9533268d0ecad34e12 (diff) | |
download | openttd-71c4325c50ae594a5adf01cac7c9e527b239cdcb.tar.xz |
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window.h b/src/window.h index 7dcb1fc6d..00cf40b98 100644 --- a/src/window.h +++ b/src/window.h @@ -645,7 +645,7 @@ static inline void EnableWindowWidget(Window *w, byte widget_index) static inline bool IsWindowWidgetDisabled(const Window *w, byte widget_index) { assert(widget_index < w->widget_count); - return HASBIT(w->widget[widget_index].display_flags, WIDG_DISABLED); + return HasBit(w->widget[widget_index].display_flags, WIDG_DISABLED); } /** @@ -691,7 +691,7 @@ static inline void ShowWindowWidget(Window *w, byte widget_index) static inline bool IsWindowWidgetHidden(const Window *w, byte widget_index) { assert(widget_index < w->widget_count); - return HASBIT(w->widget[widget_index].display_flags, WIDG_HIDDEN); + return HasBit(w->widget[widget_index].display_flags, WIDG_HIDDEN); } /** @@ -746,7 +746,7 @@ static inline void RaiseWindowWidget(Window *w, byte widget_index) static inline bool IsWindowWidgetLowered(const Window *w, byte widget_index) { assert(widget_index < w->widget_count); - return HASBIT(w->widget[widget_index].display_flags, WIDG_LOWERED); + return HasBit(w->widget[widget_index].display_flags, WIDG_LOWERED); } void InitWindowSystem(); |