diff options
Diffstat (limited to 'src/cmd/postscript/tr2post')
-rw-r--r-- | src/cmd/postscript/tr2post/Bgetfield.c | 2 |
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; } |