summaryrefslogtreecommitdiff
path: root/base/gxshade6.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-05-09 17:45:01 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-05-10 00:11:54 +0100
commitd9b37029db10bdeaf5eaee00bac2eb0653644c77 (patch)
tree960553e45a3dd37c57f053e28dafbd87e91f4521 /base/gxshade6.c
parent8836aca9a03b99fc6f0ceb3994dbb78d442d634a (diff)
downloadghostpdl-d9b37029db10bdeaf5eaee00bac2eb0653644c77.tar.gz
lgtm.com tweak: Make it clear that something isn't a typo.
Use "INTERPATCH_PADDING != 0" rather than "INTERPATCH_PADDING" to avoid the appearance of a typo.
Diffstat (limited to 'base/gxshade6.c')
-rw-r--r--base/gxshade6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxshade6.c b/base/gxshade6.c
index 85b8d7630..e48bcfb46 100644
--- a/base/gxshade6.c
+++ b/base/gxshade6.c
@@ -2389,7 +2389,7 @@ fill_wedges_aux(patch_fill_state_t *pfs, int k, int ka,
pfs->inside = save_inside;
return code;
} else {
- if (INTERPATCH_PADDING && (wedge_type & interpatch_padding)) {
+ if ((INTERPATCH_PADDING != 0) && (wedge_type & interpatch_padding)) {
code = mesh_padding(pfs, &pole[0], &pole[3], c0, c1);
if (code < 0)
return code;