summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-11-08 21:46:54 +0000
committermichi_cc <michi_cc@openttd.org>2012-11-08 21:46:54 +0000
commit2c171f2f295ca22d41bbc52bcd9f4791be992794 (patch)
tree5ca9a1804445415b90c539160dd17482817c4651
parenta443375d444b6bf3575730eae9fc56d23820a217 (diff)
downloadopenttd-2c171f2f295ca22d41bbc52bcd9f4791be992794.tar.xz
(svn r24675) -Fix (r24632): MSVC performance warning.
-rw-r--r--src/settings_gui.cpp2
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;
}
/**