]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix "acronym" display of glyphless characters on w32
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 May 2015 15:09:37 +0000 (18:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 20 May 2015 15:09:37 +0000 (18:09 +0300)
* src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
ignore "acronym" substitutes of 1 character for glyphless characters.

src/w32term.c

index d415b13f715ff77b092ab594f1b9283c75ca0334..089c43c8a26d625659fb4f60f52e2433311ecebd 100644 (file)
@@ -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))