* eina: fix tolower call.

SVN revision: 50366
This commit is contained in:
Cedric BAIL 2010-07-19 11:25:10 +00:00
parent f18e1899e5
commit 9660c1c66f
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ctype.h>
#ifdef HAVE_ICONV
# include <errno.h>
@ -574,7 +575,7 @@ eina_str_tolower(char **str)
char *p;
if ((!str) || (!(*str))) return;
for (p = *str; (*p); *p++)
for (p = *str; (*p); p++)
if ((*p >= 'A') && (*p <= 'Z'))
*p = tolower(*p);
}