summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/devices/gdevplib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/devices/gdevplib.c b/gs/devices/gdevplib.c
index 22d8a7bd2..4042696e5 100644
--- a/gs/devices/gdevplib.c
+++ b/gs/devices/gdevplib.c
@@ -556,7 +556,7 @@ plib_put_params(gx_device * pdev, gs_param_list * plist)
556 /* Note that 0 means "default". This will encounter a future check in "open" */ 556 /* Note that 0 means "default". This will encounter a future check in "open" */
557 if (ppdev->space_params.band.BandHeight != 0 && 557 if (ppdev->space_params.band.BandHeight != 0 &&
558 ppdev->space_params.band.BandHeight < MINBANDHEIGHT) { 558 ppdev->space_params.band.BandHeight < MINBANDHEIGHT) {
559 emprintf1(pdev->memory, "BandHeight of %d not valid, BandHeight minimum is %d\n", 559 emprintf2(pdev->memory, "BandHeight of %d not valid, BandHeight minimum is %d\n",
560 ppdev->space_params.band.BandHeight, MINBANDHEIGHT); 560 ppdev->space_params.band.BandHeight, MINBANDHEIGHT);
561 ecode = gs_error_rangecheck; 561 ecode = gs_error_rangecheck;
562 /* Restore to the previous (possibly default == 0) value */ 562 /* Restore to the previous (possibly default == 0) value */
@@ -729,7 +729,7 @@ plib_open(gx_device * pdev)
729 if (code < 0) 729 if (code < 0)
730 return code; 730 return code;
731 if (ppdev->space_params.band.BandHeight < MINBANDHEIGHT) { 731 if (ppdev->space_params.band.BandHeight < MINBANDHEIGHT) {
732 emprintf1(pdev->memory, "BandHeight of %d not valid, BandHeight minimum is %d\n", 732 emprintf2(pdev->memory, "BandHeight of %d not valid, BandHeight minimum is %d\n",
733 ((gx_device_printer *)pdev)->space_params.band.BandHeight, 733 ((gx_device_printer *)pdev)->space_params.band.BandHeight,
734 MINBANDHEIGHT); 734 MINBANDHEIGHT);
735 735