diff options
| author | Eli Zaretskii | 2015-05-20 18:09:37 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-05-20 18:09:37 +0300 |
| commit | e8b895342074fec055c54b1fae1a6b6cf7b301d2 (patch) | |
| tree | c8a4d6626b0942bdf1de7d3d5510610105ac6415 /src | |
| parent | 028d80f3a25bd167940e528895185f03960eceb0 (diff) | |
| download | emacs-e8b895342074fec055c54b1fae1a6b6cf7b301d2.tar.gz emacs-e8b895342074fec055c54b1fae1a6b6cf7b301d2.zip | |
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')
| -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) | |||
| 1410 | 1410 | ||
| 1411 | if (glyph->u.glyphless.method == GLYPHLESS_DISPLAY_ACRONYM) | 1411 | if (glyph->u.glyphless.method == GLYPHLESS_DISPLAY_ACRONYM) |
| 1412 | { | 1412 | { |
| 1413 | if (len > 1 | 1413 | if (len > 0 |
| 1414 | && CHAR_TABLE_P (Vglyphless_char_display) | 1414 | && CHAR_TABLE_P (Vglyphless_char_display) |
| 1415 | && (CHAR_TABLE_EXTRA_SLOTS (XCHAR_TABLE (Vglyphless_char_display)) | 1415 | && (CHAR_TABLE_EXTRA_SLOTS (XCHAR_TABLE (Vglyphless_char_display)) |
| 1416 | >= 1)) | 1416 | >= 1)) |