commit | b7769d8c9eba7403488e297e36fd8ddd0aec5155 | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Sat Jul 27 21:55:06 2019 -0400 |
committer | Cristy <[email protected]> | Sat Jul 27 21:55:06 2019 -0400 |
tree | 14fbd39f9325b2b593eee1b32857c933b66910b9 | |
parent | 75f49a49371f615badf6a134960303ee4f86493b [diff] [blame] |
Fix isalpha()
diff --git a/coders/svg.c b/coders/svg.c index a0dd964..606d9da 100644 --- a/coders/svg.c +++ b/coders/svg.c
@@ -5097,7 +5097,7 @@ (void) GetNextToken(q,&q,extent,token); number_attributes=1; for (p=token; *p != '\0'; p++) - if (isalpha((int) *p)) + if (isalpha((int) ((unsigned char) *p)) != 0) number_attributes++; if (i > (ssize_t) (number_points-6*BezierQuantum*number_attributes-1)) {