repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 652b0e76d7f18252e4d8324bf26db0e77202cf9a:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 652b0e76d7f18252e4d8324bf26db0e77202cf9a
Author: Marc Lehmann 
Date:   Sat Mar 11 00:12:37 2006 +0000

    *** empty log message ***

diff --git a/src/feature.h b/src/feature.h
index 5acf446ff0724295f5c0111bc8d0009e1d208432..
index ..bc1ff5cd918cd91e0b87684133f92b8993cfca13 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -62,8 +62,8 @@

 /*
  * Forcefully disable double-buffering for xft. On some card/driver combination
- * this slightly decreases performance, on most it greatly helps it.
- * The slowdown is small, so it * should normally be enabled.
+ * enabling it slightly decreases performance, on most it greatly helps it.
+ * The slowdown is small, so it should normally be enabled.
  */
 /* #define FORCE_UNBUFFERED_XFT */

diff --git a/src/rxvtfont.C b/src/rxvtfont.C
index 28c17100dcd85e2e47bf96a6b58629805d5d55d0..
index ..bbcada18f7154afa49acf54d26c9111bbc136f4c 100644
--- a/src/rxvtfont.C
+++ b/src/rxvtfont.C
@@ -1276,14 +1276,14 @@ rxvt_font_xft::draw (rxvt_drawable &d, int x, int y,
   int w = term->fwidth * len;
   int h = term->fheight;

-  bool buffered = 0
+  bool buffered = bg >= 0                         // we don't use a transparent bg
 #ifndef FORCE_UNBUFFERED_XFT
 # if defined(XPM_BACKGROUND) || defined(TRANSPARENT)
                   || !term->am_transparent        // we aren't transparent
                   || term->am_pixmap_trans        // we have a pixmap
 # endif
-                  || bg >= 0;                     // we don't use a transparent bg
 #endif
+                  ;

   // cut trailing spaces
   while (len && text [len - 1] == ' ')

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