summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 06818705c..3376394bc 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -456,7 +456,7 @@ struct DyedImageLoader
if (!buffer)
{
delete d;
- return 0;
+ return nullptr;
}
Resource *res = d ? Image::load(buffer, fileSize, *d)
: Image::load(buffer, fileSize);