diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index a3aef31ec25..94bf013f4a0 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -563,8 +563,8 @@ encode_terminal_code (struct glyph *src, int src_len, | |||
| 563 | { | 563 | { |
| 564 | cmp = composition_table[src->u.cmp.id]; | 564 | cmp = composition_table[src->u.cmp.id]; |
| 565 | required = cmp->glyph_len; | 565 | required = cmp->glyph_len; |
| 566 | required *= MAX_MULTIBYTE_LENGTH; | ||
| 567 | } | 566 | } |
| 567 | required *= MAX_MULTIBYTE_LENGTH; | ||
| 568 | 568 | ||
| 569 | if (encode_terminal_src_size - nbytes < required) | 569 | if (encode_terminal_src_size - nbytes < required) |
| 570 | { | 570 | { |