changeset 50528:dae46d521201

(indian-2-column-to-ucs-region): Fix for the case of replacing multibyte characters.
author Kenichi Handa <handa@m17n.org>
date Thu, 10 Apr 2003 11:57:54 +0000
parents cb27de31f54d
children 6f2a35c77d07
files lisp/language/ind-util.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/language/ind-util.el	Wed Apr 09 19:06:19 2003 +0000
+++ b/lisp/language/ind-util.el	Thu Apr 10 11:57:54 2003 +0000
@@ -1224,7 +1224,7 @@
             (if (= len 1)
                 (setq subst (aref indian-2-column-to-ucs-chartable
 				  (char-after (match-beginning 0))))
-              (setq subst (assoc (match-string 0) alist)))
+              (setq subst (cdr (assoc (match-string 0) alist))))
             (replace-match (if subst subst "?"))))
         (indian-compose-region (point-min) (point-max))))))