28 lines
962 B
Diff
28 lines
962 B
Diff
From d9b37029db10bdeaf5eaee00bac2eb0653644c77 Mon Sep 17 00:00:00 2001
|
|
From: Robin Watts <Robin.Watts@artifex.com>
|
|
Date: Sat, 9 May 2020 17:45:01 +0100
|
|
Subject: [PATCH] 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.
|
|
---
|
|
base/gxshade6.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/base/gxshade6.c b/base/gxshade6.c
|
|
index 85b8d76..e48bcfb 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;
|
|
--
|
|
1.8.3.1
|
|
|