config.c: Fix a segfault when an invalid `ModKey' is specified.

Signed-off-by: Florian Forster <octo@verplant.org>
This commit is contained in:
Florian Forster 2007-10-27 17:10:57 +02:00 committed by Julien Danjou
parent 71e6e4db65
commit ba80b49fd4
1 changed files with 1 additions and 1 deletions

View File

@ -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 */