Allow '-' in attributes together with required attributes (JS problem)

SVN revision: 1929
This commit is contained in:
2007-09-28 14:15:21 +00:00
parent 4aa11da62d
commit 6371aa4a32
+1 -1
View File
@@ -1492,7 +1492,7 @@ void stou(char *str)
int i;
for (i = 0; i < (int) strlen(str); i++)
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\')
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\' || str[i] == '-')
str[i] = '_';
}