emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master e8b8953: Fix "acronym" display of glyphless charact


From: Eli Zaretskii
Subject: [Emacs-diffs] master e8b8953: Fix "acronym" display of glyphless characters on w32
Date: Wed, 20 May 2015 15:10:36 +0000

branch: master
commit e8b895342074fec055c54b1fae1a6b6cf7b301d2
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix "acronym" display of glyphless characters on w32
    
    * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
    ignore "acronym" substitutes of 1 character for glyphless characters.
---
 src/w32term.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/w32term.c b/src/w32term.c
index d415b13..089c43c 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1410,7 +1410,7 @@ x_draw_glyphless_glyph_string_foreground (struct 
glyph_string *s)
 
       if (glyph->u.glyphless.method == GLYPHLESS_DISPLAY_ACRONYM)
        {
-         if (len > 1
+         if (len > 0
              && CHAR_TABLE_P (Vglyphless_char_display)
              && (CHAR_TABLE_EXTRA_SLOTS (XCHAR_TABLE (Vglyphless_char_display))
                  >= 1))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]