From 3c5eb880473a7f1becc9383738173441805aacc3 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 20 Apr 2013 22:41:10 +0900 Subject: [PATCH] fix up param parser for edje inlines --- src/bin/termio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index c3a15328..caa67fe4 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -941,7 +941,6 @@ _block_edje_cmds(Termpty *ty, Termblock *blk, Eina_List *cmds, Eina_Bool created blk); } } - if (l) l = l->next; } } @@ -3529,7 +3528,7 @@ _smart_pty_command(void *data) if ((*p1 == '\n') || (*p1 == '\r') || (!*p1)) { // if string is non-empty... - if ((p1 - p0) > 1) + if ((p1 - p0) >= 1) { // allocate, fill and add to list pp = malloc(p1 - p0 + 1);