config.c: Fix a segfault when an invalid `ModKey' is specified.
Signed-off-by: Florian Forster <octo@verplant.org>
This commit is contained in:
parent
71e6e4db65
commit
ba80b49fd4
2
config.c
2
config.c
|
@ -111,7 +111,7 @@ static const KeyMod KeyModList[] =
|
||||||
{"Mod3", Mod3Mask},
|
{"Mod3", Mod3Mask},
|
||||||
{"Mod4", Mod4Mask},
|
{"Mod4", Mod4Mask},
|
||||||
{"Mod5", Mod5Mask},
|
{"Mod5", Mod5Mask},
|
||||||
{"None", 0}
|
{NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
/** List of available layouts and link between name and functions */
|
/** List of available layouts and link between name and functions */
|
||||||
|
|
Loading…
Reference in New Issue