diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-07-25 20:31:08 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-07-25 20:31:08 +0000 |
commit | 2db2a27c9e83524ac35aa4c53ecc74843dd9318f (patch) | |
tree | 532722fd07eb0f36cb902d57d0f7e35b59dc15d4 /gdk/gdkrgb.c | |
parent | 4e84b6662829a84988a50445f0a62954381501b8 (diff) | |
download | gdk-pixbuf-2db2a27c9e83524ac35aa4c53ecc74843dd9318f.tar.gz |
Use gdk_rgb_convert_4, not gdk_rgb_convert_8 for depth 4, bpp 8,
* gdk/gdkrgb.c (gdk_rgb_select_conv): Use gdk_rgb_convert_4,
not gdk_rgb_convert_8 for depth 4, bpp 8, PseudoColor visuals.
(#88697)
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r-- | gdk/gdkrgb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c index b5ae8587a..56ac88176 100644 --- a/gdk/gdkrgb.c +++ b/gdk/gdkrgb.c @@ -2997,6 +2997,7 @@ gdk_rgb_select_conv (GdkRgbInfo *image_info) } else if (bpp == 8 && depth <= 8 && + depth > 4 && (vtype == GDK_VISUAL_PSEUDO_COLOR #ifdef ENABLE_GRAYSCALE || vtype == GDK_VISUAL_GRAYSCALE |