diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-05-20 18:09:37 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-05-20 18:09:37 +0300 |
commit | e8b895342074fec055c54b1fae1a6b6cf7b301d2 (patch) | |
tree | c8a4d6626b0942bdf1de7d3d5510610105ac6415 /src/w32term.c | |
parent | 028d80f3a25bd167940e528895185f03960eceb0 (diff) | |
download | emacs-e8b895342074fec055c54b1fae1a6b6cf7b301d2.tar.gz |
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.
Diffstat (limited to 'src/w32term.c')
-rw-r--r-- | src/w32term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c index d415b13f715..089c43c8a26 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)) |