From 744dcc6437556f6d168f364afe78c201446b40cb Mon Sep 17 00:00:00 2001 From: root Date: Sun, 29 Mar 2009 16:14:10 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 5 +++++ src/encoding.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 6adb1b43..2fac325a 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 a77f84d1..eb9f700b 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]; -- 2.34.1