repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: df9e91200a5213da7eee1b1a2274f6bc95f7e8df:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit df9e91200a5213da7eee1b1a2274f6bc95f7e8df
Author: Marc Lehmann 
Date:   Sat Dec 13 12:06:38 2014 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index 050b6be5ca84e270f7f9df0124cd094b0b6ad896..
index ..48601413861ac62f852e87afa354c67f03271415 100644
--- a/Changes
+++ b/Changes
@@ -84,6 +84,8 @@ TODO: warn with a graphical message when env has been modified
           (this is only relevant for antique 8bpp frame buffers).
         - do not free fade colours when not doing fading (this is likely
           only relevant for antique 8bpp frame buffers).
+	- do not specialcase 2 or 4 colour visuals, leading to
+          simpler and actually more correct code.

 9.20 Sat Apr 26 16:22:27 CEST 2014
         - (libptytty) fix bug that prevented urxvtd from writing utmp
diff --git a/src/main.C b/src/main.C
index 4e99919040749cbfce1689ee8fb8504730800800..
index ..eb200df824bcb11a39026ad14ef49f4aa79197de 100644
--- a/src/main.C
+++ b/src/main.C
@@ -1057,6 +1057,7 @@ rxvt_term::set_color (rxvt_color &color, const char *name)
 void
 rxvt_term::alias_color (int dst, int src)
 {
+  pix_colors[dst].free (this);
   pix_colors[dst].set (this, rs[Rs_color + dst] = rs[Rs_color + src]);
 }

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