From 520a495c466793c29f3e721634dfe6cc616b8ede Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 May 2014 23:56:03 +0300 Subject: Add missing const. --- src/test/testlauncher.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/test/testlauncher.cpp') diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 09c7ef2ed..26ad10174 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -261,8 +261,7 @@ int TestLauncher::testDye() rw = MPHYSFSRWOPS_openRead( "graphics/sprites/arrow_up.png"); d = new Dye("S:#0000ff,00ff00,5c5cff,ff0000"); - image = d ? surfaceImageHelper->load(rw, *d) - : surfaceImageHelper->load(rw); + image = surfaceImageHelper->load(rw, *d); if (image) { surface = surfaceImageHelper->create32BitSurface( -- cgit v1.2.3-70-g09d2