diff options
Diffstat (limited to 'src/cmd/postscript/common')
-rw-r--r-- | src/cmd/postscript/common/rune.c | 2 | ||||
-rw-r--r-- | src/cmd/postscript/common/rune.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/postscript/common/rune.c b/src/cmd/postscript/common/rune.c index 01ee6ba8..ee5a79d0 100644 --- a/src/cmd/postscript/common/rune.c +++ b/src/cmd/postscript/common/rune.c @@ -21,7 +21,7 @@ enum Maskx = (1<<Bitx)-1, /* 0011 1111 */ Testx = Maskx ^ 0xFF, /* 1100 0000 */ - Bad = Runeerror, + Bad = Runeerror }; int diff --git a/src/cmd/postscript/common/rune.h b/src/cmd/postscript/common/rune.h index 2df5f767..0e7d0cb6 100644 --- a/src/cmd/postscript/common/rune.h +++ b/src/cmd/postscript/common/rune.h @@ -14,6 +14,6 @@ enum UTFmax = 3, /* maximum bytes per rune */ Runesync = 0x80, /* cannot represent part of a utf sequence (<) */ Runeself = 0x80, /* rune and utf sequences are the same (<) */ - Runeerror = 0x80, /* decoding error in utf */ + Runeerror = 0xFFFD /* decoding error in utf */ }; #endif |