summaryrefslogtreecommitdiff
path: root/src/resources/imageset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageset.cpp')
-rw-r--r--src/resources/imageset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp
index c2f1e532e..59a44c87f 100644
--- a/src/resources/imageset.cpp
+++ b/src/resources/imageset.cpp
@@ -39,7 +39,7 @@ ImageSet::ImageSet(Image *const img, const int width, const int height,
mOffsetX(0),
mOffsetY(0)
{
- if (img)
+ if (img != nullptr)
{
const int hAdd = height + spacing;
const int wAdd = width + spacing;