summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
diff options
context:
space:
mode:
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) {