From a8ec4910fd7d67df09ca79179dff8a344cc13cf2 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 13 Jul 2005 21:34:11 +0000 Subject: apple --- src/cmd/postscript/tr2post/Bgetfield.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/postscript') 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; } -- cgit v1.2.3