fixed missing return values

those did not trigger problems with Lua-5.1.x, but they do with LuaJIT
pull/2/merge
HW 12 years ago
parent a381e11a9e
commit e359ea4938

@ -53,6 +53,7 @@ static int loadPNGData(lua_State *L) {
fz_catch(img->context) {
return luaL_error(L, "cannot load PNG data");
}
return 0;
}
static int loadJPEGData(lua_State *L) {
@ -65,6 +66,7 @@ static int loadJPEGData(lua_State *L) {
fz_catch(img->context) {
return luaL_error(L, "cannot open JPEG data");
}
return 0;
}
static int toBlitBuffer(lua_State *L) {

Loading…
Cancel
Save