jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=218b3a40f923fabd131872f294de4b02efe0aa01

commit 218b3a40f923fabd131872f294de4b02efe0aa01
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Jul 15 14:09:49 2015 +0900

    Evas filters: Fix parsing of curve() with a function
    
    If the points argument was a function, there was a Lua call
    stack error, making the filter fail.
---
 src/lib/evas/filters/evas_filter_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/filters/evas_filter_parser.c 
b/src/lib/evas/filters/evas_filter_parser.c
index d6d1e35..c278687 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1277,7 +1277,7 @@ _lua_curve_points_func(lua_State *L, int i, 
Evas_Filter_Program *pgm EINA_UNUSED
                        if (n < -1) n = 0;
                        if (n > 255) n = 255;
                     }
-                  lua_pop(L, 1);
+                  lua_pop(L, 2);
                   values[k] = (int) n;
                }
              else

-- 


Reply via email to