summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/main.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-05 22:50:13 +0000
committerKarl Berry <karl@freefriends.org>2016-04-05 22:50:13 +0000
commit52e905992c395638cf339bcd463c71b197fc03b9 (patch)
tree88970c53454646c3953c29970ee9c81762b0f019 /Build/source/texk/xdvik/main.c
parentb56b320b5e2515160073fa1b469514002688fe11 (diff)
import xdvik-22.87.03
git-svn-id: svn://tug.org/texlive/trunk@40253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/main.c')
-rw-r--r--Build/source/texk/xdvik/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/xdvik/main.c b/Build/source/texk/xdvik/main.c
index 102efab1dec..644d25e9529 100644
--- a/Build/source/texk/xdvik/main.c
+++ b/Build/source/texk/xdvik/main.c
@@ -641,12 +641,12 @@ init_check_resources(void)
/* margins */
if (resource.sidemargin)
- resource.sidemargin_int = atopix(resource.sidemargin, False);
+ resource.sidemargin_int = atopix(resource.sidemargin);
if (resource.topmargin)
- resource.topmargin_int = atopix(resource.topmargin, False);
- resource.xoffset_int = resource.xoffset ? atopix(resource.xoffset, True)
+ resource.topmargin_int = atopix(resource.topmargin);
+ resource.xoffset_int = resource.xoffset ? atopix_signed(resource.xoffset)
: resource.pixels_per_inch;
- resource.yoffset_int = resource.yoffset ? atopix(resource.yoffset, True)
+ resource.yoffset_int = resource.yoffset ? atopix_signed(resource.yoffset)
: resource.pixels_per_inch;
/* paper type */