summaryrefslogtreecommitdiff
path: root/gs/psi/zpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/psi/zpath.c')
-rw-r--r--gs/psi/zpath.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gs/psi/zpath.c b/gs/psi/zpath.c
index e610bcd32..558f57135 100644
--- a/gs/psi/zpath.c
+++ b/gs/psi/zpath.c
@@ -1,6 +1,6 @@
/* Copyright (C) 2001-2006 Artifex Software, Inc.
All Rights Reserved.
-
+
This software is provided AS-IS with no warranty, either express or
implied.
@@ -23,7 +23,7 @@
/* Forward references */
static int common_to(i_ctx_t *,
- int (*)(gs_state *, floatp, floatp));
+ int (*)(gs_state *, floatp, floatp));
static int common_curve(i_ctx_t *,
int (*)(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp));
@@ -43,7 +43,7 @@ zcurrentpoint(i_ctx_t *i_ctx_p)
int code = gs_currentpoint(igs, &pt);
if (code < 0)
- return code;
+ return code;
push(2);
make_real(op - 1, pt.x);
make_real(op, pt.y);
@@ -81,16 +81,16 @@ zrlineto(i_ctx_t *i_ctx_p)
/* Common code for [r](move/line)to */
static int
common_to(i_ctx_t *i_ctx_p,
- int (*add_proc)(gs_state *, floatp, floatp))
+ int (*add_proc)(gs_state *, floatp, floatp))
{
os_ptr op = osp;
double opxy[2];
int code;
if ((code = num_params(op, 2, opxy)) < 0 ||
- (code = (*add_proc)(igs, opxy[0], opxy[1])) < 0
- )
- return code;
+ (code = (*add_proc)(igs, opxy[0], opxy[1])) < 0
+ )
+ return code;
pop(2);
return 0;
}
@@ -112,17 +112,17 @@ zrcurveto(i_ctx_t *i_ctx_p)
/* Common code for [r]curveto */
static int
common_curve(i_ctx_t *i_ctx_p,
- int (*add_proc)(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp))
+ int (*add_proc)(gs_state *, floatp, floatp, floatp, floatp, floatp, floatp))
{
os_ptr op = osp;
double opxy[6];
int code;
if ((code = num_params(op, 6, opxy)) < 0)
- return code;
+ return code;
code = (*add_proc)(igs, opxy[0], opxy[1], opxy[2], opxy[3], opxy[4], opxy[5]);
if (code >= 0)
- pop(6);
+ pop(6);
return code;
}