diff options
-rw-r--r-- | src/cmd/tr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/tr.c b/src/cmd/tr.c index 46e98e15..036967d6 100644 --- a/src/cmd/tr.c +++ b/src/cmd/tr.c @@ -88,7 +88,7 @@ delete(void) SETBIT(t, c); } - last = 0x10000; + last = Runemax+1; while (readrune(0, &c) > 0) { if(!BITSET(f, c) && (c != last || !BITSET(t,c))) { last = c; @@ -128,7 +128,7 @@ complement(void) else p[i] = i; } if (sflag){ - lastc = 0x10000; + lastc = Runemax+1; while (readrune(0, &from) > 0) { if (from > high) from = to; @@ -182,7 +182,7 @@ translit(void) SETBIT(t,to); } if (sflag){ - lastc = 0x10000; + lastc = Runemax+1; while (readrune(0, &from) > 0) { if (from <= high) from = p[from]; |