summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-10-29 20:08:30 +0000
committeryexo <yexo@openttd.org>2012-10-29 20:08:30 +0000
commitc4fa82adba9a0c95f2c25e68822cbe83175f1113 (patch)
tree40a3cb5943cf990133be5a98e04ad2df13dcbe31
parent23054a3ab5bb700d831d592d1af819e0059a0c04 (diff)
downloadopenttd-c4fa82adba9a0c95f2c25e68822cbe83175f1113.tar.xz
(svn r24648) -Fix (r24647): svn diff != ||
-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 6de7af7b2..67d383db4 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -1343,7 +1343,7 @@ bool SettingEntry::UpdateFilterState(StringFilter &filter, bool force_visible, R
bool visible = true;
switch (this->flags & SEF_KIND_MASK) {
case SEF_SETTING_KIND: {
- if (force_visible !! !filter.IsEmpty()) {
+ if (force_visible || !filter.IsEmpty()) {
/* Process the search text filter for this item. */
filter.ResetState();