summaryrefslogtreecommitdiff
path: root/pcl/pcursor.c
diff options
context:
space:
mode:
authorJohn Desrosiers <johnd@ghostscript.com>1999-06-02 03:15:54 +0000
committerJohn Desrosiers <johnd@ghostscript.com>1999-06-02 03:15:54 +0000
commit833491b0508d320de5d2a6b0dcd64fd5a61210e2 (patch)
tree5a5c0635737ace89d3113b2376f4b4ecec5eccdf /pcl/pcursor.c
parent91d186d45159c02f215817ddeb2022b949283590 (diff)
Initial checkin for multiple language support, shared devices,
interpreter instances, interpreter initialization/de-initialization, etc. A todo list of unfinished work is in pctop.c and pxtop.c. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@873 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcursor.c')
-rw-r--r--pcl/pcursor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcl/pcursor.c b/pcl/pcursor.c
index 19c1ca1cc..e463d4b31 100644
--- a/pcl/pcursor.c
+++ b/pcl/pcursor.c
@@ -14,6 +14,7 @@
#include "pcursor.h"
#include "pcpage.h"
#include "gscoord.h"
+#include "pjtop.h"
/*
* Hoizontal and vertical movement.
@@ -786,7 +787,8 @@ pcursor_do_reset(
pcs->line_termination = 0;
pcs->hmi_cp = HMI_DEFAULT;
- pcs->vmi_cp = pcs->margins.length / pjl_vartoi(pjl_get_envvar(pcs->pjls, "formlines"));
+ pcs->vmi_cp = pcs->margins.length
+ / pjl_proc_vartoi(pcs->pjls, pjl_proc_get_envvar(pcs->pjls, "formlines"));
if ( (type & pcl_reset_overlay) == 0 ) {
pcs->cursor_stk_size = 0;