Change xkbcommon file path to include/ subdirectory
[platform/upstream/libxkbcommon.git] / src / text.c
index 60edb03..290a5ae 100644 (file)
@@ -216,6 +216,9 @@ ModIndexText(struct xkb_context *ctx, const struct xkb_mod_set *mods,
     if (ndx == XKB_MOD_INVALID)
         return "none";
 
+    if (ndx == XKB_MOD_NONE)
+        return "None";
+
     if (ndx >= mods->num_mods)
         return NULL;