aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index 3dfc423946..087c0ac6bf 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -780,6 +780,7 @@ _instruction_parse(Evas_Filter_Instruction *instr, const char *string)
PARSE_CHECK(next);
last = EINA_TRUE;
*next++ = 0;
+ PARSE_CHECK(!*next);
}
// Named arguments
@@ -1800,7 +1801,7 @@ evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str)
}
else PARSE_CHECK(!"invalid command");
}
- success = EINA_TRUE;
+ success = (count > 0);
DBG("Program successfully compiled with %d instruction(s)", count);