From 7dc6b6adbdd127b72d605eb1b8b75a34da59bddf Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Fri, 30 Sep 2005 21:13:49 +0000 Subject: 1.Removed warning from symbian portdefs 2.Made thumbnail.cpp compile for VC6 (Symbian Emulator environment). Order of template declaration and includes causing the problems 3.Moved int i declaration from for;loop into local variable 4.Updated stdafx uio.h is not part of the Symbian build chain. svn-id: r18909 --- common/scaler/thumbnail.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/scaler') diff --git a/common/scaler/thumbnail.cpp b/common/scaler/thumbnail.cpp index 8ada19a670..49d2eb9154 100644 --- a/common/scaler/thumbnail.cpp +++ b/common/scaler/thumbnail.cpp @@ -24,7 +24,6 @@ #include "common/scummsys.h" #include "common/system.h" -#include "common/scaler.h" #include "common/scaler/intern.h" template @@ -69,6 +68,8 @@ void createThumbnail_4(const uint8* src, uint32 srcPitch, uint8* dstPtr, uint32 } } +#include "common/scaler.h" + void createThumbnail(const uint8* src, uint32 srcPitch, uint8* dstPtr, uint32 dstPitch, int width, int height) { // only 1/2 and 1/4 downscale supported if (width != 320 && width != 640) -- cgit v1.2.3