diff options
author | michi_cc <michi_cc@openttd.org> | 2012-11-08 21:46:54 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-11-08 21:46:54 +0000 |
commit | 2c171f2f295ca22d41bbc52bcd9f4791be992794 (patch) | |
tree | 5ca9a1804445415b90c539160dd17482817c4651 | |
parent | a443375d444b6bf3575730eae9fc56d23820a217 (diff) | |
download | openttd-2c171f2f295ca22d41bbc52bcd9f4791be992794.tar.xz |
(svn r24675) -Fix (r24632): MSVC performance warning.
-rw-r--r-- | src/settings_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 62c834e64..ecb647893 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1282,7 +1282,7 @@ uint SettingEntry::GetMaxHelpHeight(int maxw) */ bool SettingEntry::IsFiltered() const { - return this->flags & SEF_FILTERED; + return (this->flags & SEF_FILTERED) != 0; } /** |