diff options
author | wl <wl> | 2010-01-02 17:22:55 +0000 |
---|---|---|
committer | wl <wl> | 2010-01-02 17:22:55 +0000 |
commit | 7cd922a83161010f0b649721541fcb22b68c99af (patch) | |
tree | 43243a28586fa8c492ca1a95031bc2d623a99b3d /src | |
parent | 972c7dbfe69d8befc79cecfb1c8777e653078618 (diff) | |
download | groff-7cd922a83161010f0b649721541fcb22b68c99af.tar.gz |
Don't hardcode `ps' device.
This is needed for cooperation with gropdf.
* src/preproc/pic/troff.cpp (troff_output::text): Use GROPS_REG.
Diffstat (limited to 'src')
-rw-r--r-- | src/preproc/pic/troff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preproc/pic/troff.cpp b/src/preproc/pic/troff.cpp index dfd19baf..ea93e26a 100644 --- a/src/preproc/pic/troff.cpp +++ b/src/preproc/pic/troff.cpp @@ -462,7 +462,7 @@ void troff_output::text(const position ¢er, text_piece *v, int n, fputs("\n.sp -1\n", stdout); } if (rotate_flag) - printf(".if '\\*(.T'ps' \\{\\\n" + printf(".if \\n(" GROPS_REG " \\{\\\n" "\\X'ps: exec grestore'\n.sp -1\n" ".\\}\n"); } |