diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/style-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style-internal.h b/src/style-internal.h index f716601f6..22148b132 100644 --- a/src/style-internal.h +++ b/src/style-internal.h @@ -880,7 +880,7 @@ public: } bool isPaintserver() const { - return (value.href) ? value.href->getObject() : nullptr; + return value.href && value.href->getObject() != nullptr; } void setColor( float r, float g, float b ) { |
