Commit ebcc4e2e authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(devanagari-reorder-glyphs-for-decomposition): Fix the way to

handle devanagari-decomposition-rules.
parent edf496dd
......@@ -1166,8 +1166,8 @@ Ligatures and special rules are processed."
"This function re-orders glyph list for decomposition."
(sort glyphlist
'(lambda (x y)
(let ((xx (assoc x devanagari-decomposition-rules))
(yy (assoc y devanagari-decomposition-rules)))
(let ((xx (nth 1 (assoc x devanagari-decomposition-rules)))
(yy (nth 1 (assoc y devanagari-decomposition-rules))))
(if (null xx) (setq xx 0))
(if (null yy) (setq yy 0))
(< xx yy)))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment