diff --git a/src/bin/termio.c b/src/bin/termio.c index 7b92d7fc..51203873 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -1475,15 +1475,15 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y) eina_strbuf_append_char(sb, ' '); v--; } - if (x == (w - 1)) - { - if (!cells[x].att.autowrapped) - eina_strbuf_append_char(sb, '\n'); - } } txtlen = glyph_to_utf8(cells[x].glyph, txt); if (txtlen > 0) eina_strbuf_append_length(sb, txt, txtlen); + if (x == (w - 1)) + { + if (!cells[x].att.autowrapped) + eina_strbuf_append_char(sb, '\n'); + } } } if (last0 >= 0)