]> Pileus Git - ~andy/gtk/commitdiff
blur: Do the same thing for rows and cols
authorBenjamin Otte <otte@redhat.com>
Wed, 19 Sep 2012 20:39:47 +0000 (22:39 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 20 Sep 2012 00:45:41 +0000 (02:45 +0200)
gtk/gtkcairoblur.c

index b711f2b2ae1579349c80847e28733afadfffe516..3f944e24297d39e42a50ed7b0bedca0085821f34 100644 (file)
@@ -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,