summaryrefslogtreecommitdiff
path: root/src/devices/grotty
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-12 22:59:30 +0000
committerwlemb <wlemb>2003-03-12 22:59:30 +0000
commit3aa5f041823825d124ba3dfa4965acee713bc45c (patch)
treedea10cc8cc2e8c6fe80a21ad7586c94b167dd28e /src/devices/grotty
parenta0d84a8c7ac9d3c7aea01fbb9e96c688bfa4093a (diff)
downloadgroff-3aa5f041823825d124ba3dfa4965acee713bc45c.tar.gz
Make variable `pr' local to libdriver/input.cc. Based on a patch
by Bernd Warken <bwarken@mayn.de>. * src/include/driver.h (pr): Removed. * src/libs/libdriver/input.cc (pr): New global variable. (do_file): Deallocate `pr'. * src/libs/libdriver/printer.cc (pr): Removed. * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc (main): Don't delete `pr'. * tmac/a4.tmac, tmac/composite.tmac: Use `.do'. * tmac/papersize.tmac: New file. * tmac/troffrc: Include `papersize.tmac'. * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'. * tmac/an-old.tmac: Set LT to LL by default. * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man, doc/groff.texinfo: Updated. * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing bug which caused all odd iso papers to have wrong dimensions. * src/devices/grops/ps.cc (user_paper_width): New global variable. (main) <'p'>: Set `user_paper_width' also. (ps_printer::media_width, ps_printer::media_height): Use values given with option `-p'.
Diffstat (limited to 'src/devices/grotty')
-rw-r--r--src/devices/grotty/tty.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/grotty/tty.cc b/src/devices/grotty/tty.cc
index bfb8a207..b60f86a8 100644
--- a/src/devices/grotty/tty.cc
+++ b/src/devices/grotty/tty.cc
@@ -805,7 +805,6 @@ int main(int argc, char **argv)
for (int i = optind; i < argc; i++)
do_file(argv[i]);
}
- delete pr;
return 0;
}