aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/postscript')
-rw-r--r--src/cmd/postscript/common/rune.c2
-rw-r--r--src/cmd/postscript/common/rune.h2
-rw-r--r--src/cmd/postscript/misc/laserbar.c2
3 files changed, 3 insertions, 3 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
diff --git a/src/cmd/postscript/misc/laserbar.c b/src/cmd/postscript/misc/laserbar.c
index 2f61c277..7b45e667 100644
--- a/src/cmd/postscript/misc/laserbar.c
+++ b/src/cmd/postscript/misc/laserbar.c
@@ -43,7 +43,7 @@ static int code39[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
static void barprt();