From 82b405632211e38b50dae0bf4acf6239d95949e5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Mar 2006 00:12:37 +0000 Subject: [PATCH] *** empty log message *** --- src/feature.h | 4 ++-- src/rxvtfont.C | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/feature.h b/src/feature.h index 5acf446f..bc1ff5cd 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 28c17100..bbcada18 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] == ' ') -- 2.34.1