Changed extension of conditional attributes to use stricmp instead strcmp

SVN revision: 1941
This commit is contained in:
2007-10-22 19:20:19 +00:00
parent 532d4f0258
commit 07b89dcd99
+3 -3
View File
@@ -2785,7 +2785,7 @@ BOOL match_param(char *str, char *param, int conditional_only)
return FALSE;
if (!_condition[0] || str[0] != '{')
return (strcmp(str, param) == 0);
return (stricmp(str, param) == 0);
p = str;
if (strchr(p, '}'))
@@ -2806,7 +2806,7 @@ BOOL match_param(char *str, char *param, int conditional_only)
for (j = 0; j < npl; j++)
if (stricmp(clist[i], plist[j]) == 0) {
/* condition matches */
return strcmp(p, param) == 0;
return stricmp(p, param) == 0;
}
/* check and'ed conditions */
@@ -2823,7 +2823,7 @@ BOOL match_param(char *str, char *param, int conditional_only)
}
if (j == nand)
return strcmp(p, param) == 0;
return stricmp(p, param) == 0;
}
return 0;