remove awesome: for warn() calls

This commit is contained in:
Julien Danjou 2007-12-13 14:03:55 +01:00
parent 097e8e4172
commit 11effcd7af
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ static void set_key_info(Key *key, cfg_t *cfg)
key->mod |= key_mask_lookup(cfg_getnstr(cfg, "modkey", j)); key->mod |= key_mask_lookup(cfg_getnstr(cfg, "modkey", j));
key->func = name_func_lookup(cfg_getstr(cfg, "command"), UicbList); key->func = name_func_lookup(cfg_getstr(cfg, "command"), UicbList);
if(!key->func) if(!key->func)
warn("awesome: unknown command %s\n", cfg_getstr(cfg, "command")); warn("unknown command %s\n", cfg_getstr(cfg, "command"));
} }
@ -206,7 +206,7 @@ static Key *section_keys(cfg_t *cfg_keys)
numkeys = cfg_size(cfgkeytmp, "keylist"); numkeys = cfg_size(cfgkeytmp, "keylist");
if (numkeys != cfg_size(cfgkeytmp, "arglist")) if (numkeys != cfg_size(cfgkeytmp, "arglist"))
{ {
warn("awesome: number of keys != number of args in keylist"); warn("number of keys != number of args in keylist");
continue; continue;
} }
for(j=0; j < numkeys; j++) for(j=0; j < numkeys; j++)