Commit 2b25da45 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

language/hebrew.el (hebrew-shape-gstring): Check if a glyph element of GSTRING is nil.

parent b7050583
2010-05-27 Kenichi Handa <handa@m17n.org>
* language/hebrew.el (hebrew-shape-gstring): Check if a glyph
element of GSTRING is nil.
2010-05-25 Chong Yidong <cyd@stupidchicken.com>
* log-edit.el (log-edit-strip-single-file-name): Default to nil.
......
......@@ -92,6 +92,9 @@ Bidirectional editing is supported.")))
(nchars (lgstring-char-len gstring))
(nglyphs (lgstring-glyph-len gstring))
(base-width (lglyph-width (lgstring-glyph gstring 0))))
(while (and (> nglyphs 1)
(not (lgstring-glyph gstring (1- nglyphs))))
(setq nglyphs (1- nglyphs)))
(while (> nglyphs 1)
(setq nglyphs (1- nglyphs))
(let* ((glyph (lgstring-glyph gstring nglyphs))
......
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