From 31527192c84918b793a0203514465081e9f2e5f1 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 5 Mar 2006 23:23:55 +0000 Subject: [PATCH] finally fix broken gimp window icons --- CHANGELOG | 2 ++ render/image.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index d4e69cc0..647d0ce7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,8 @@ * Add a showDelay option for the dock. * Fixed onscreen-keeping code which broke a bit in -rc2. * Fix incorrect handling of window properties on 64 bit arches. + * Fix pixelsize being the same as size for pango, now it is correct. + * Fix drawing of icons taller than wide, eg gimp. 3.3-rc2: * Fixed some typos and errors in rc.xsd diff --git a/render/image.c b/render/image.c index 393afe84..0479f39b 100644 --- a/render/image.c +++ b/render/image.c @@ -182,7 +182,7 @@ void RrImageDraw(RrPixel32 *target, RrTextureRGBA *rgba, dest++; source++; - if (col++ >= dw) { + if (++col >= dw) { col = 0; dest += target_w - dw; } -- 2.39.2