diff options
| -rw-r--r-- | sys/src/cmd/mothra/rdhtml.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/cmd/mothra/rdhtml.c b/sys/src/cmd/mothra/rdhtml.c index 5fbf0c732..88bb4f853 100644 --- a/sys/src/cmd/mothra/rdhtml.c +++ b/sys/src/cmd/mothra/rdhtml.c @@ -219,8 +219,7 @@ void pl_putback(Hglob *g, int c){ } int pl_nextc(Hglob *g){ int c; - int n; - Rune r; + if(g->heof) return EOF; if(g->npeekc!=0) return g->peekc[--g->npeekc]; c=pl_readc(g); |
