# HG changeset patch # User Eli Zaretskii # Date 946821521 0 # Node ID 59913a531d4e7b355e9f376ccb1ac2c50fe1592c # Parent d6ad71edea9565d9829f89e2dfdbfa14e09bc775 (insert_glyphs): Pass glyph, not &glyph, to encode_terminal_code. diff -r d6ad71edea95 -r 59913a531d4e src/term.c --- a/src/term.c Sun Jan 02 12:09:58 2000 +0000 +++ b/src/term.c Sun Jan 02 13:58:41 2000 +0000 @@ -1150,7 +1150,7 @@ 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 @@ /* 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); }