changeset 66:664a274a46a6

Fixed color depth problem when creating a new pixmap.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 14 Jan 2002 02:10:31 +0000
parents a12f4c621b9b
children ab9b0fa6c66e
files gtk/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/dw.c	Mon Jan 14 01:22:30 2002 +0000
+++ b/gtk/dw.c	Mon Jan 14 02:10:31 2002 +0000
@@ -4007,7 +4007,7 @@
 		return NULL;
 
 	if (!depth)
-		depth = 24;
+		depth = -1;
 
 	pixmap->width = width; pixmap->height = height;