diff options
author | Julian Smith <jules@op59.net> | 2019-11-29 14:35:25 +0000 |
---|---|---|
committer | Julian Smith <jules@op59.net> | 2019-11-29 14:35:25 +0000 |
commit | a3f284624a68dcb1ecb72dcf307b42d194e78de1 (patch) | |
tree | 0cfc36019432143c9d951297ac1bd1b97075f058 /contrib/lips4 | |
parent | ff02f8741f71830e7a4795645680a16b9d7ae106 (diff) | |
download | ghostpdl-a3f284624a68dcb1ecb72dcf307b42d194e78de1.tar.gz |
Coverity 94653: fixed incorrect if() that was logically dead code.
Diffstat (limited to 'contrib/lips4')
-rw-r--r-- | contrib/lips4/gdevl4v.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/lips4/gdevl4v.c b/contrib/lips4/gdevl4v.c index cdfba93fd..b0c204b97 100644 --- a/contrib/lips4/gdevl4v.c +++ b/contrib/lips4/gdevl4v.c @@ -1396,11 +1396,11 @@ lips4v_endpath(gx_device_vector * vdev, gx_path_type_t type) lputs(s, "P)"); sputc(s, LIPS_IS2); if (type & gx_path_type_rule) { - if (type & gx_path_type_winding_number) { - lputs(s, "}I1"); + if (type & gx_path_type_even_odd) { + lputs(s, "}I0"); sputc(s, LIPS_IS2); } else { - lputs(s, "}I0"); + lputs(s, "}I1"); sputc(s, LIPS_IS2); } } |