summaryrefslogtreecommitdiff
path: root/pcl/pcjob.c
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1998-11-26 19:54:46 +0000
committerHenry Stiles <henry.stiles@artifex.com>1998-11-26 19:54:46 +0000
commit84c7609f1012a7f38d85d9ba2d706fe00df7b0e5 (patch)
tree5ef9724879a6631b18462916253119c4f4f9226a /pcl/pcjob.c
parent74e6d83152f238ad54c179ab4632641b9b3d8619 (diff)
changed to use pjl_compare() instead of strcmp().
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@563 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pcl/pcjob.c')
-rw-r--r--pcl/pcjob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcl/pcjob.c b/pcl/pcjob.c
index b11b9cd10..b43fa7e45 100644
--- a/pcl/pcjob.c
+++ b/pcl/pcjob.c
@@ -197,9 +197,9 @@ pcjob_do_reset(pcl_state_t *pcls, pcl_reset_type_t type)
{ if ( type & (pcl_reset_initial | pcl_reset_printer) )
{ pcls->num_copies = atoi(pjl_get_envvar(pcls->pjls, "copies"));
pcls->duplex =
- !strcmp(pjl_get_envvar(pcls->pjls, "duplex"), "off") ? false : true;
+ !pjl_compare(pjl_get_envvar(pcls->pjls, "duplex"), "off") ? false : true;
pcls->bind_short_edge =
- !strcmp(pjl_get_envvar(pcls->pjls, "binding"), "longedge") ? false : true;
+ !pjl_compare(pjl_get_envvar(pcls->pjls, "binding"), "longedge") ? false : true;
pcls->back_side = false;
pcls->output_bin = 1;
}