[gdk-pixbuf] Fix a typo



commit bed6e350bda61072b7118bc6b49b4e26d33d3567
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Sep 12 23:17:07 2016 -0400

    Fix a typo
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770756

 gdk-pixbuf/io-ico.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-ico.c b/gdk-pixbuf/io-ico.c
index e1f13c1..7b7d977 100644
--- a/gdk-pixbuf/io-ico.c
+++ b/gdk-pixbuf/io-ico.c
@@ -286,7 +286,7 @@ static void DecodeHeader(guchar *Data, gint Bytes,
                y_hot = (Ptr[7] << 8) + Ptr[6];
                 data_size = (Ptr[11] << 24) + (Ptr[10] << 16) + (Ptr[9] << 8) + (Ptr[8]);
                data_offset = (Ptr[15] << 24) + (Ptr[14] << 16) + (Ptr[13] << 8) + (Ptr[12]);
-                DEBUG(g_print ("Image %d: %d x %d\n\tPalette: %d\n", I, width, height, {tr[2]);
+                DEBUG(g_print ("Image %d: %d x %d\n\tPalette: %d\n", I, width, height, Ptr[2]);
                 if (imgtype == 2)
                   g_print ("\tHotspot: %d x %d\n", x_hot, y_hot);
                 else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]