forked from enlightenment/terminology
fix odditieis in selection text generation
SVN revision: 72762
This commit is contained in:
parent
604b3b78f1
commit
5984c4109d
|
@ -1475,15 +1475,15 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y)
|
||||||
eina_strbuf_append_char(sb, ' ');
|
eina_strbuf_append_char(sb, ' ');
|
||||||
v--;
|
v--;
|
||||||
}
|
}
|
||||||
if (x == (w - 1))
|
|
||||||
{
|
|
||||||
if (!cells[x].att.autowrapped)
|
|
||||||
eina_strbuf_append_char(sb, '\n');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
txtlen = glyph_to_utf8(cells[x].glyph, txt);
|
txtlen = glyph_to_utf8(cells[x].glyph, txt);
|
||||||
if (txtlen > 0)
|
if (txtlen > 0)
|
||||||
eina_strbuf_append_length(sb, txt, txtlen);
|
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)
|
if (last0 >= 0)
|
||||||
|
|
Loading…
Reference in New Issue