From c8ce2837368d52d250eba9a4a5fd665c094a0d38 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 3 Mar 2003 15:35:52 +0000 Subject: [PATCH] sorry previous commit message was wrong, should read added shrink procedure with proper color averaging, it is triggered from scale in case the old with/height are multiples of the new width/height git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/image.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/image.cpp b/src/common/image.cpp index 5e6a3df8c2..17d1b9643b 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -258,7 +258,6 @@ wxImage wxImage::ShrinkBy( int xFactor , int yFactor ) const for (long y = 0; y < height; y++) { - for (long x = 0; x < width; x++) { unsigned long avgRed = 0 ; -- 2.45.2