repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 3ab6ae964650b1685c9c46756a2ad8fd80a183e7:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 3ab6ae964650b1685c9c46756a2ad8fd80a183e7
Author: Emanuele Giaquinta 
Date:   Sat Feb 16 13:35:45 2008 +0000

    Simplify.

diff --git a/src/screen.C b/src/screen.C
index d63b5c2a3bc8b0f583d60f4ced8c1ad9e32fabae..
index ..e497d72c98f8fc93b2084aad22cc271ef76a5718 100644
--- a/src/screen.C
+++ b/src/screen.C
@@ -1994,11 +1994,11 @@ rxvt_term::scr_refresh () NOTHROW
   /*
    * A: set up vars
    */
-  have_bg = 0;
   refresh_count = 0;

+  have_bg = 0;
 #ifdef HAVE_BG_PIXMAP
-  have_bg |= bgPixmap.pixmap != None;
+  have_bg = bgPixmap.pixmap != None;
 #endif
   ocrow = oldcursor.row; /* is there an old outline cursor on screen? */

-----END OF PAGE-----