From ba80b49fd451a25bbedeaeaec3aed4344d2efe92 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 27 Oct 2007 17:10:57 +0200 Subject: [PATCH] config.c: Fix a segfault when an invalid `ModKey' is specified. Signed-off-by: Florian Forster --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 436e9ea1..dfa79971 100644 --- a/config.c +++ b/config.c @@ -111,7 +111,7 @@ static const KeyMod KeyModList[] = {"Mod3", Mod3Mask}, {"Mod4", Mod4Mask}, {"Mod5", Mod5Mask}, - {"None", 0} + {NULL, 0} }; /** List of available layouts and link between name and functions */