keymap-dump: use consistent order set/latch/lock (style)
authorRan Benita <ran234@gmail.com>
Thu, 9 Jun 2016 13:32:05 +0000 (16:32 +0300)
committerRan Benita <ran234@gmail.com>
Thu, 9 Jun 2016 13:32:32 +0000 (16:32 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/keymap-dump.c

index 8b9bda9..d05a410 100644 (file)
@@ -304,9 +304,9 @@ write_action(struct xkb_keymap *keymap, struct buf *buf,
     type = ActionTypeText(action->type);
 
     switch (action->type) {
-    case ACTION_TYPE_MOD_LOCK:
     case ACTION_TYPE_MOD_SET:
     case ACTION_TYPE_MOD_LATCH:
+    case ACTION_TYPE_MOD_LOCK:
         if (action->mods.flags & ACTION_MODS_LOOKUP_MODMAP)
             args = "modMapMods";
         else