use a_strcmp() instead of strcmp()

This commit is contained in:
Julien Danjou 2007-09-21 17:32:00 +02:00
parent 1340d926ce
commit 40384806fd
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

2
tag.c
View File

@ -44,7 +44,7 @@ idxoftag(const char *tag_to_find, char **tags, int ntags)
return 0;
for(i = 0; i < ntags; i++)
if(!strcmp(tags[i], tag_to_find))
if(!a_strcmp(tags[i], tag_to_find))
return i;
return 0;