diff options
Diffstat (limited to 'Build/source/texk/ttf2pk2/ligkern.c')
-rw-r--r-- | Build/source/texk/ttf2pk2/ligkern.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/ttf2pk2/ligkern.c b/Build/source/texk/ttf2pk2/ligkern.c index 788552e1855..c3317109086 100644 --- a/Build/source/texk/ttf2pk2/ligkern.c +++ b/Build/source/texk/ttf2pk2/ligkern.c @@ -32,12 +32,12 @@ paramstring(char **curp) p = *curp; - while (*p && !isspace(*p)) + while (*p && !isspace((unsigned char)*p)) p++; q = *curp; if (*p != '\0') *p++ = '\0'; - while (isspace(*p)) + while (isspace((unsigned char)*p)) p++; *curp = p; return q; @@ -146,13 +146,13 @@ checkligkern(char *s, Font *fnt) orig_s = s; s++; - while (isspace(*s)) + while (isspace((unsigned char)*s)) s++; if (strncmp(s, "LIGKERN", 7) == 0) { fnt->sawligkern = True; s += 7; - while (isspace(*s)) + while (isspace((unsigned char)*s)) s++; pos = s; while (*pos) |