SVN revision: 50706
This commit is contained in:
Mike Blumenkrantz 2010-07-31 05:10:44 +00:00
parent 31743ae6de
commit 056cfca56f
1 changed files with 3 additions and 3 deletions

View File

@ -365,9 +365,9 @@ output(void)
static int
compiler_cmd_is_sane()
{
char *c = edje_file->compiler, *ptr;
const char *c = edje_file->compiler, *ptr;
if (!c || !*c)
if ((!c) || (!*c))
{
return 0;
}
@ -375,7 +375,7 @@ compiler_cmd_is_sane()
for (ptr = c; ptr && *ptr; ptr++)
{
/* only allow [a-z][A-Z][0-9]_- */
if (!isalnum(*ptr) && *ptr != '_' && *ptr != '-')
if ((!isalnum(*ptr)) && (*ptr != '_') && (*ptr != '-'))
{
return 0;
}