]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_bitmap_icon): Fix test for unallocated icon bitmap.
authorPaul Reilly <pmr@pajato.com>
Tue, 14 Feb 1995 21:48:14 +0000 (21:48 +0000)
committerPaul Reilly <pmr@pajato.com>
Tue, 14 Feb 1995 21:48:14 +0000 (21:48 +0000)
src/xterm.c

index 97559002292aa8eae9608472bead5619df43a5d3..bc919788d067e851e9f95c400eee5929c3ae1d31 100644 (file)
@@ -4302,7 +4302,7 @@ x_bitmap_icon (f, file)
   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);