forked from enlightenment/efl
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:
parent
9027cde720
commit
218b3a40f9
|
@ -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 < -1) n = 0;
|
||||||
if (n > 255) n = 255;
|
if (n > 255) n = 255;
|
||||||
}
|
}
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 2);
|
||||||
values[k] = (int) n;
|
values[k] = (int) n;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue