Use proper index to select mask in _ecore_xcb_key_mask_get
authordottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Nov 2009 22:15:00 +0000 (22:15 +0000)
committerdottedmag <dottedmag@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 10 Nov 2009 22:15:00 +0000 (22:15 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@43607 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xcb/ecore_xcb.c

index a3927fd..0f8c69b 100644 (file)
@@ -982,7 +982,7 @@ _ecore_xcb_key_mask_get(xcb_keysym_t sym)
          {
             int mask;
 
-            mask = masks[i];
+            mask = masks[j];
             free(reply);
             xcb_key_symbols_free(symbols);
             return mask;