repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: d2f8d736653e3d84be2b557bbf30825ff8ce7b81:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit d2f8d736653e3d84be2b557bbf30825ff8ce7b81
Author: Marc Lehmann 
Date:   Sun Mar 29 16:14:10 2009 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index 6adb1b431ec249e7e36dc3e091bad89bab618b45..
index ..2fac325ab36dd73bd9f0b4939e12a49c9a79209a 100644
--- a/Changes
+++ b/Changes
@@ -21,12 +21,17 @@ DUMB: support tex fonts

 TODO: exg-- patch
 TODO: selection_beg/end should set screen, or so
+        - the binary search algorithm to find precomposed characters
+          was faulty, skipping some possible combinations (found by
+          Mikachu).
 	- enable --mlock option for urxvt with frills on
           systems supporting it (patch by Russell Harmon).
 	- urxvt did not compile without frills enabled
           (analysed by Matthew Rosewarne).
         - correctly reset the mbstate after an illegal
           input sequence when handling terminal output (Emanuele Giaquinta).
+        - avoid redrawing wide characters with combining enabled on every
+          refresgh (reported by Mikachu).

 9.06 Sat Nov  8 17:47:18 CET 2008
 	- NOTICE: this release updates terminfo/termcap.
diff --git a/src/encoding.C b/src/encoding.C
index a77f84d12f8e666c6cb06d11b7371a8683a649a5..
index ..eb9f700baa99d818e1ffeb5156a67c159d6e21e4 100644
--- a/src/encoding.C
+++ b/src/encoding.C
@@ -290,7 +290,7 @@ rxvt_compose (unicode_t c1, unicode_t c2)
   int r = sizeof (rxvt_compose_table) / sizeof (rxvt_compose_entry) - 1;
   int m;

-  while (r > l)
+  while (r >= l)
     {
       m = (l + r) / 2;
       rxvt_compose_entry &c = rxvt_compose_table[m];

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