From 498d1da18229b8de8faf2576e527a5ef82e7fdcf Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 19 Apr 2010 20:44:05 +0000 Subject: Cleanup. svn-id: r48735 --- graphics/scaler/thumbnail_intern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/scaler/thumbnail_intern.cpp') diff --git a/graphics/scaler/thumbnail_intern.cpp b/graphics/scaler/thumbnail_intern.cpp index 9a3665abaa..329cf71186 100644 --- a/graphics/scaler/thumbnail_intern.cpp +++ b/graphics/scaler/thumbnail_intern.cpp @@ -110,7 +110,7 @@ static bool grabScreen565(Graphics::Surface *surf) { if (screenFormat.bytesPerPixel == 1) { palette = new byte[256 * 4]; assert(palette); - g_system->grabPalette(&palette[0], 0, 256); + g_system->grabPalette(palette, 0, 256); } for (uint y = 0; y < screen->h; ++y) { -- cgit v1.2.3