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.
This commit is contained in:
Jean-Philippe Andre 2015-07-15 14:09:49 +09:00
parent 9027cde720
commit 218b3a40f9
1 changed files with 1 additions and 1 deletions

View File

@ -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