add CFG_END for mouse bindings where missing in config parser

Thanks rcs.
This commit is contained in:
Julien Danjou 2007-11-22 10:48:09 +01:00
parent 2693631447
commit db22906ba0
1 changed files with 2 additions and 0 deletions

View File

@ -260,6 +260,7 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
CFG_STR_LIST((char *) "modkey", (char *) "{}", CFGF_NONE), CFG_STR_LIST((char *) "modkey", (char *) "{}", CFGF_NONE),
CFG_STR((char *) "button", (char *) "None", CFGF_NONE), CFG_STR((char *) "button", (char *) "None", CFGF_NONE),
CFG_STR((char *) "command", (char *) "", CFGF_NONE), CFG_STR((char *) "command", (char *) "", CFGF_NONE),
CFG_END()
}; };
static cfg_opt_t mouse_generic_opts[] = static cfg_opt_t mouse_generic_opts[] =
{ {
@ -267,6 +268,7 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
CFG_STR((char *) "button", (char *) "None", CFGF_NONE), CFG_STR((char *) "button", (char *) "None", CFGF_NONE),
CFG_STR((char *) "command", (char *) "", CFGF_NONE), CFG_STR((char *) "command", (char *) "", CFGF_NONE),
CFG_STR((char *) "arg", NULL, CFGF_NONE), CFG_STR((char *) "arg", NULL, CFGF_NONE),
CFG_END()
}; };
static cfg_opt_t mouse_opts[] = static cfg_opt_t mouse_opts[] =
{ {