raster pushed a commit to branch master.
commit 3c5eb880473a7f1becc9383738173441805aacc3
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Sat Apr 20 22:41:10 2013 +0900
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 c3a1532..caa67fe 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);
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter