changeset 19719:22772cc2aaa2 draft

(svn r24648) -Fix (r24647): svn diff != ||
author yexo <yexo@openttd.org>
date Mon, 29 Oct 2012 20:08:30 +0000
parents bb4e1d9b4da9
children 5c3573f1f136
files src/settings_gui.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -1343,7 +1343,7 @@
 	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();