[Xfce4-commits] [apps/ristretto] 02/02: Prevent from using garbage values when pixbuf==NULL

noreply at xfce.org noreply at xfce.org
Sun Oct 2 19:38:11 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/ristretto.

commit db47c72d1efcbd6e939253135252c49ec34b93b6
Author: Igor <f2404 at yandex.ru>
Date:   Sun Oct 2 20:38:05 2016 +0300

    Prevent from using garbage values when pixbuf==NULL
---
 src/icon_bar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/icon_bar.c b/src/icon_bar.c
index 29bc027..39e5ac4 100644
--- a/src/icon_bar.c
+++ b/src/icon_bar.c
@@ -1236,7 +1236,7 @@ rstto_icon_bar_paint_item (
     gint             focus_pad;
     gint             x, y;
     gint             px, py;
-    gint             pixbuf_height, pixbuf_width;
+    gint             pixbuf_height = 0, pixbuf_width = 0;
     RsttoFile       *file;
     GtkTreeIter      iter;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list