[at-spi2-atk] collection: fix missing return value



commit 3db51c3ee59e0d29abd5a5a21ed03db369117127
Author: Mike Gorse <mgorse suse com>
Date:   Thu Mar 31 12:32:29 2016 -0500

    collection: fix missing return value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758934

 atk-adaptor/adaptors/collection-adaptor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/atk-adaptor/adaptors/collection-adaptor.c b/atk-adaptor/adaptors/collection-adaptor.c
index af45afc..42ea073 100644
--- a/atk-adaptor/adaptors/collection-adaptor.c
+++ b/atk-adaptor/adaptors/collection-adaptor.c
@@ -1180,8 +1180,8 @@ types_match (DBusMessageIter *iter, char c)
 
   if (t == 'r' && c == '(')
     return TRUE;
-  else if (t != c)
-    return FALSE;
+  else
+    return (t == c);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]