aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 21:34:11 +0000
committerrsc <devnull@localhost>2005-07-13 21:34:11 +0000
commita8ec4910fd7d67df09ca79179dff8a344cc13cf2 (patch)
tree9dbb20f00bd6ec3a3fee026473f43e85f49f5c77 /src/cmd/postscript
parentf462256db27f827590a5867e046d0bbbb8eb368a (diff)
downloadplan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.gz
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.tar.bz2
plan9port-a8ec4910fd7d67df09ca79179dff8a344cc13cf2.zip
apple
Diffstat (limited to 'src/cmd/postscript')
-rw-r--r--src/cmd/postscript/tr2post/Bgetfield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/postscript/tr2post/Bgetfield.c b/src/cmd/postscript/tr2post/Bgetfield.c
index fc0dfc13..d976b40a 100644
--- a/src/cmd/postscript/tr2post/Bgetfield.c
+++ b/src/cmd/postscript/tr2post/Bgetfield.c
@@ -108,7 +108,7 @@ Bgetfield(Biobuf *bp, int type, void *thing, int size) {
while (!bailout && (r = Bgetrune(bp))>=0) {
switch (sindex++) {
case 0:
- if (*c == '0') {
+ if (r == '0') {
base = 8;
continue;
}