From fd065b81f72c0146969c5c86f7af3d3a2756b876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Mon, 30 Jun 2014 00:25:40 -0300 Subject: [PATCH] Don't add unnecessary newlines on selections. We were adding newlines on wrapped lines that ended with a ' '. I don't see anything breaking by removing this check, but if something does, please be clear about it. --- src/bin/termio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index 44ea1a9e..7f8e6b54 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -4635,7 +4635,7 @@ termio_selection_get(Evas_Object *obj, int c1x, int c1y, int c2x, int c2y, } #endif if (x >= w) break; - if ((cells[x].codepoint == 0) || (cells[x].codepoint == ' ')) + if (cells[x].codepoint == 0) { if (last0 < 0) last0 = x; }