summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psi/zshade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psi/zshade.c b/psi/zshade.c
index b9088c271..ae910e056 100644
--- a/psi/zshade.c
+++ b/psi/zshade.c
@@ -129,7 +129,7 @@ shading_param(const_os_ptr op, const gs_shading_t ** ppsh)
* no way to check whether a structure is actually a shading.
*/
if (!r_is_struct(op) ||
- r_has_masked_attrs(op, a_executable | a_execute, a_all)
+ r_has_masked_attrs(op, a_execute, a_all)
)
return_error(gs_error_typecheck);
*ppsh = (gs_shading_t *) op->value.pstruct;