summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwl <wl>2010-01-02 17:22:55 +0000
committerwl <wl>2010-01-02 17:22:55 +0000
commit7cd922a83161010f0b649721541fcb22b68c99af (patch)
tree43243a28586fa8c492ca1a95031bc2d623a99b3d /src
parent972c7dbfe69d8befc79cecfb1c8777e653078618 (diff)
downloadgroff-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.cpp2
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 &center, 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");
}