From e8b895342074fec055c54b1fae1a6b6cf7b301d2 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 20 May 2015 18:09:37 +0300 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2