[gtk+] blur: Do the same thing for rows and cols
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] blur: Do the same thing for rows and cols
- Date: Thu, 20 Sep 2012 00:47:12 +0000 (UTC)
commit a239f2e8b028b714cd269c10c70e19683390b68f
Author: Benjamin Otte <otte redhat com>
Date: Wed Sep 19 22:39:47 2012 +0200
blur: Do the same thing for rows and cols
gtk/gtkcairoblur.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcairoblur.c b/gtk/gtkcairoblur.c
index b711f2b..3f944e2 100644
--- a/gtk/gtkcairoblur.c
+++ b/gtk/gtkcairoblur.c
@@ -133,7 +133,7 @@ _blurcol (guchar* pixels,
zB = *((guchar*) ptr + 2) << zprec;
zA = *((guchar*) ptr + 3) << zprec;
- for (index = 1; index < height - 1; index++)
+ for (index = 0; index < height; index++)
_blurinner (&ptr[index * rowstride],
&zR,
&zG,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]