use a_strcmp() instead of strcmp()
This commit is contained in:
parent
1340d926ce
commit
40384806fd
|
@ -284,7 +284,7 @@ main(int argc, char *argv[])
|
|||
Atom netatom[NetLast];
|
||||
event_handler **handler;
|
||||
|
||||
if(argc == 2 && !strcmp("-v", argv[1]))
|
||||
if(argc == 2 && !a_strcmp("-v", argv[1]))
|
||||
{
|
||||
printf("awesome-" VERSION " © 2007 Julien Danjou\n");
|
||||
return EXIT_SUCCESS;
|
||||
|
|
4
config.c
4
config.c
|
@ -127,7 +127,7 @@ key_mask_lookup(const char *keyname)
|
|||
|
||||
if(keyname)
|
||||
for(i = 0; KeyModList[i].name; i++)
|
||||
if(!strcmp(keyname, KeyModList[i].name))
|
||||
if(!a_strcmp(keyname, KeyModList[i].name))
|
||||
return KeyModList[i].keysym;
|
||||
|
||||
return 0;
|
||||
|
@ -146,7 +146,7 @@ name_func_lookup(const char *funcname, const NameFuncLink * list)
|
|||
|
||||
if(funcname && list)
|
||||
for(i = 0; list[i].name; i++)
|
||||
if(!strcmp(funcname, list[i].name))
|
||||
if(!a_strcmp(funcname, list[i].name))
|
||||
return list[i].func;
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue