[gdk-pixbuf] Fixing format string with missing parameter



commit ae3f3f7d39ffcf2939bc55f746e910bce0f30cf5
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date:   Wed Mar 27 10:32:43 2019 +0100

    Fixing format string with missing parameter
    
    Legacy code with probably a bad copy/paste in it.
    
    See issue: #96

 contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.c b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.c
index e0d4f79ef..66b8f0258 100644
--- a/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.c
+++ b/contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.c
@@ -3565,7 +3565,7 @@ xlib_rgb_cmap_new (guint32 *colors, int n_colors)
                   ((rgb & 0xf000) >> 8) |
                   ((rgb & 0xf0) >> 4);
 #ifdef VERBOSE
-       printf ("%d %x %x %d\n", i, j, colorcube[j]);
+       printf ("%d %d %x\n", i, j, colorcube[j]);
 #endif
        cmap->lut[i] = colorcube[j];
       }


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