summaryrefslogtreecommitdiff
path: root/src/resources/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/imageloader.cpp')
-rw-r--r--src/resources/imageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/imageloader.cpp b/src/resources/imageloader.cpp
index d88e633be..a8563c679 100644
--- a/src/resources/imageloader.cpp
+++ b/src/resources/imageloader.cpp
@@ -51,12 +51,12 @@ void ProxyImage::free()
if (mSDLImage)
{
SDL_FreeSurface(mSDLImage);
- mSDLImage = 0;
+ mSDLImage = nullptr;
}
else
{
delete mImage;
- mImage = 0;
+ mImage = nullptr;
}
}