--- rxvt-unicode/src/screen.C 2008/02/06 16:44:47 1.302 +++ rxvt-unicode/src/screen.C 2008/02/16 13:35:45 1.303 @@ -1994,11 +1994,11 @@ /* * 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? */