summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-10-22 23:12:08 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-10-22 23:12:08 +0000
commitdac4b10d90cb7716ebf00d6ebaff07657fffee11 (patch)
treef6b4cd856813d78c038783fd134d06282c20d3ce /Build/source/texk/dvipsk/output.c
parent2c078412ccd9dab1d59b28b73b5b9eee8b72eb7d (diff)
output.c: (hvpos) simplify the change of yesterday. Many thanks Peter.
git-svn-id: svn://tug.org/texlive/trunk@20156 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/output.c')
-rw-r--r--Build/source/texk/dvipsk/output.c38
1 files changed, 13 insertions, 25 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c
index 915335a1387..dacbf1f0fe2 100644
--- a/Build/source/texk/dvipsk/output.c
+++ b/Build/source/texk/dvipsk/output.c
@@ -914,19 +914,13 @@ hvpos(void)
numout(hh);
numout(vv);
chrcmd('y');
- } else if (jflag) {
- numout(hh) ;
- numout(vv) ;
+ } else if (rhh != hh || jflag) {
+ numout(hh);
+ numout(vv);
chrcmd('a') ;
- } else {
- if (rhh != hh) {
- numout(hh);
- numout(vv);
- chrcmd('a');
- } else { /* hard to get this case, but it's there when you need it! */
- numout(vv - rvv);
- chrcmd('x');
- }
+ } else { /* hard to get this case, but it's there when you need it! */
+ numout(vv - rvv);
+ chrcmd('x');
}
rvv = vv;
} else if (rhh != hh || jflag) {
@@ -963,19 +957,13 @@ hvpos(void)
numout(vv);
numout(-hh);
chrcmd('y');
- } else if (jflag) {
- numout(vv) ;
- numout(-hh) ;
- chrcmd('a') ;
- } else {
- if (rvv != vv) {
- numout(vv);
- numout(-hh);
- chrcmd('a');
- } else { /* hard to get this case, but it's there when you need it! */
- numout(rhh - hh);
- chrcmd('x');
- }
+ } else if (rvv != vv || jflag) {
+ numout(vv);
+ numout(-hh);
+ chrcmd('a');
+ } else { /* hard to get this case, but it's there when you need it! */
+ numout(rhh - hh);
+ chrcmd('x');
}
rhh = hh;
} else if (rvv != vv || jflag) {