summaryrefslogtreecommitdiff
path: root/gdk/gdkrgb.c
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2002-08-01 18:22:28 +0000
committerSven Neumann <neo@src.gnome.org>2002-08-01 18:22:28 +0000
commit615deb3e4ad2411c61c6b5ed4c5e445218b139bf (patch)
tree98b602049ec806d445699e91e12c6e66596c346b /gdk/gdkrgb.c
parente5ae081ebea69057c9e9da5175869b87b0972ed0 (diff)
downloadgtk+-615deb3e4ad2411c61c6b5ed4c5e445218b139bf.tar.gz
Merge from stable:
2002-08-01 Sven Neumann <sven@gimp.org> Merge from stable: * gdk/gdkrgb.c: trivial changes to some debug code so it compiles with VERBOSE being defined.
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r--gdk/gdkrgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 56ac881762..1f2f24bfd1 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -181,7 +181,7 @@ gdk_rgb_make_colorcube (GdkRgbInfo *image_info, gulong *pixels,
{
image_info->colorcube[i] = pixels[rt[i >> 8] + gt[(i >> 4) & 0x0f] + bt[i & 0x0f]];
#ifdef VERBOSE
- g_print ("%03x %02x %x %x %x\n", i, image-info->colorcube[i], rt[i >> 8], gt[(i >> 4) & 0x0f], bt[i & 0x0f]);
+ g_print ("%03x %02x %x %x %x\n", i, image_info->colorcube[i], rt[i >> 8], gt[(i >> 4) & 0x0f], bt[i & 0x0f]);
#endif
}
}
@@ -3373,7 +3373,7 @@ gdk_rgb_cmap_get_info (GdkRgbCmap *cmap,
((rgb & 0xf000) >> 8) |
((rgb & 0xf0) >> 4);
#ifdef VERBOSE
- g_print ("%d %x %x %d\n", i, j, image_info->colorcube[j]);
+ g_print ("%d %x %x\n", i, j, image_info->colorcube[j]);
#endif
cmap_info->lut[i] = image_info->colorcube[j];
}