changeset 10755:e5f13cc95d02

(x_bitmap_icon): Fix test for unallocated icon bitmap.
author Paul Reilly <pmr@pajato.com>
date Tue, 14 Feb 1995 21:48:14 +0000
parents cd1c0b5e8634
children f0cd1c0ac565
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Feb 14 17:31:55 1995 +0000
+++ b/src/xterm.c	Tue Feb 14 21:48:14 1995 +0000
@@ -4302,7 +4302,7 @@
   else
     {
       /* Create the GNU bitmap if necessary.  */
-      if (!FRAME_X_DISPLAY_INFO (f)->icon_bitmap_id < 0)
+      if (FRAME_X_DISPLAY_INFO (f)->icon_bitmap_id < 0)
 	FRAME_X_DISPLAY_INFO (f)->icon_bitmap_id
 	  = x_create_bitmap_from_data (f, gnu_bits,
 				       gnu_width, gnu_height);