From 816be8b8eb5ceaf74914a2cbd8878f3e9b733ba1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 2 Jan 2000 14:00:03 +0000 Subject: [PATCH] (insert_glyphs): Pass glyph, not &glyph, to encode_terminal_code. --- src/ChangeLog | 5 +++++ src/term.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7dfcd97023a..317d5c7ec9b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2000-01-02 Eli Zaretskii + + * term.c (insert_glyphs): Pass glyph, not &glyph, to + encode_terminal_code. + 2000-01-02 Eli Zaretskii * dispnew.c (mode_line_string): Support termcap frames as well. diff --git a/src/term.c b/src/term.c index c51f0eb6c86..98d7958208f 100644 --- a/src/term.c +++ b/src/term.c @@ -1150,7 +1150,7 @@ insert_glyphs (start, len) else { turn_on_face (f, start->face_id); - glyph= start; + glyph = start; ++start; /* We must open sufficient space for a character which occupies more than one column. */ @@ -1166,7 +1166,7 @@ insert_glyphs (start, len) /* We use shared conversion buffer of the current size (1024 bytes at least). It is surely sufficient for just one glyph. */ - produced = encode_terminal_code (&glyph, conversion_buffer, 1, + produced = encode_terminal_code (glyph, conversion_buffer, 1, conversion_buffer_size, &consumed); } -- 2.39.5