summaryrefslogtreecommitdiff
path: root/gs/src
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>1999-11-29 01:34:04 +0000
committerHenry Stiles <henry.stiles@artifex.com>1999-11-29 01:34:04 +0000
commit1cf3c24000f60adbc9b9ad094246bc06c42460c0 (patch)
tree868e8424cbf4805af84815dc0a3db8aab0a336a2 /gs/src
parent34ec172fd8c8aa96aa57ebe9196d7069cd7cb02f (diff)
comparing a float and double resulted in incorrect handling of dots (0
length elements) within dash patterns. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1028 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'gs/src')
-rw-r--r--gs/src/gxpdash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/gxpdash.c b/gs/src/gxpdash.c
index 019b5dd26..ee9d4b787 100644
--- a/gs/src/gxpdash.c
+++ b/gs/src/gxpdash.c
@@ -56,7 +56,7 @@ subpath_expand_dashes(const subpath * psub, gx_path * ppath,
const float *pattern = dash->pattern;
int count, index;
bool ink_on;
- float elt_length;
+ double elt_length;
fixed x0 = psub->pt.x, y0 = psub->pt.y;
fixed x, y;
const segment *pseg;