fix odditieis in selection text generation

SVN revision: 72762
This commit is contained in:
Carsten Haitzler 2012-06-24 10:01:53 +00:00
parent 604b3b78f1
commit 5984c4109d
1 changed files with 5 additions and 5 deletions

View File

@ -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)