From: raster Date: Mon, 25 Jun 2012 11:26:21 +0000 (+0000) Subject: adjust copy & paste text extraction to be much nicer. X-Git-Tag: upstream/0.1~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6179ad28a4f75bea1f5a298356c751ebf58f62e0;p=platform%2Fupstream%2Fterminology.git adjust copy & paste text extraction to be much nicer. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@72800 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/termio.c b/src/bin/termio.c index 8779236..2c53167 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -1465,7 +1465,7 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y) for (x = start_x; x <= end_x; x++) { if (x >= w) break; - if (cells[x].glyph == 0) + if ((cells[x].glyph == 0) || (cells[x].glyph == ' ')) { if (last0 < 0) last0 = x; }