*** empty log message ***
authorroot <root>
Sun, 19 Feb 2006 16:25:13 +0000 (16:25 +0000)
committerroot <root>
Sun, 19 Feb 2006 16:25:13 +0000 (16:25 +0000)
Changes
src/rxvttoolkit.C

diff --git a/Changes b/Changes
index f0f407189e63149a4d0ea117034f92c12a3d3758..a6f518052ee19d700d7bbacb4d48086599c5a306 100644 (file)
--- a/Changes
+++ b/Changes
@@ -33,6 +33,8 @@ DUMB: support tex fonts
           so also check for matching fg colours. This fixes the problem where
           selecting newly scrolled-in lines would exhibit wrong colours.
         - fix a race resulting in a crash on exiting.
+        - fix a with --disable-xft that caused xfreecolors to be called on
+          colors never allocated, resulting in program aborts.
         - fix a bug in xcopyarea pass and _disable_ it, as it seems not to be
           working in either rxvt-unicode nor in the original rxvt.
 
index c503463d882598635314398f1844406405adf4c9..b26b4e6c6323073657df5f28b3da3e6707e51ab9 100644 (file)
@@ -835,6 +835,9 @@ rxvt_color::get (XColor &color)
 void 
 rxvt_color::free (rxvt_screen *screen)
 {
+  if (screen->visual->c_class == TrueColor)
+    return; // nothing to do
+
 #if XFT
   XftColorFree (screen->dpy, screen->visual, screen->cmap, &c);
 #else