map: fix incorrect return value
authorRan Benita <ran234@gmail.com>
Wed, 1 Aug 2012 08:12:18 +0000 (11:12 +0300)
committerRan Benita <ran234@gmail.com>
Tue, 7 Aug 2012 08:09:39 +0000 (11:09 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/map.c

index 7dc9a57..dc96287 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -133,7 +133,7 @@ xkb_map_mod_get_index(struct xkb_keymap *keymap, const char *name)
             return i + XkbNumModifiers;
     }
 
-    return XKB_GROUP_INVALID;
+    return XKB_MOD_INVALID;
 }
 
 /**