From: Paul Reilly Date: Tue, 14 Feb 1995 21:48:14 +0000 (+0000) Subject: (x_bitmap_icon): Fix test for unallocated icon bitmap. X-Git-Tag: emacs-19.34~5103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bf01b68c777a234f14c5971efa4ce308743aef9;p=emacs.git (x_bitmap_icon): Fix test for unallocated icon bitmap. --- diff --git a/src/xterm.c b/src/xterm.c index 97559002292..bc919788d06 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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);