billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=aece218cf340a863f0330d578570eba0dda4cd0b

commit aece218cf340a863f0330d578570eba0dda4cd0b
Author: Boris Faure <bill...@gmail.com>
Date:   Tue Oct 28 20:52:35 2014 +0100

    fix segfault in miniview due to large codepoints
---
 src/bin/miniview.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/bin/miniview.c b/src/bin/miniview.c
index f47fb38..a468538 100644
--- a/src/bin/miniview.c
+++ b/src/bin/miniview.c
@@ -115,8 +115,7 @@ _draw_cell(const Termpty *ty, unsigned int *pixel, const 
Termcell *cell, unsigne
    
    if (bgext) *pixel = colors[bg + 256];
    else if (bg && ((bg % 12) != COL_INVIS)) *pixel = colors[bg];
-   else if ((codepoint > 32) && (codepoint < 0x00110000) &&
-            (!isspace(codepoint)))
+   else if ((codepoint > 32) && (codepoint < 0x00110000))
      {
         if (fgext) *pixel = colors[fg + 256];
         else *pixel = colors[fg];

-- 


Reply via email to