diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dpxfile.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dpxfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dpxfile.c b/Build/source/texk/dvipdfm-x/dpxfile.c index f890a8f343e..575ba52e525 100644 --- a/Build/source/texk/dvipdfm-x/dpxfile.c +++ b/Build/source/texk/dvipdfm-x/dpxfile.c @@ -1125,7 +1125,7 @@ ispscmap (FILE *fp) p = mfgets(_sbuf, 128, fp); p[127] = '\0'; if (!p || strlen(p) < 4 || memcmp(p, "%!PS", 4)) return 0; - for (p += 4; *p && !isspace(*p); p++); + for (p += 4; *p && !isspace((unsigned char)*p); p++); for ( ; *p && (*p == ' ' || *p == '\t'); p++); if (*p == '\0' || strlen(p) < strlen("Resource-CMap")) return 0; |