Fix the explicit format + Data argument variant of love.data.decompress.

This commit is contained in:
Alex Szpakowski
2018-05-13 12:12:29 -03:00
parent cac369ee44
commit 33177c9826
+1 -1
View File
@@ -171,7 +171,7 @@ int w_decompress(lua_State *L)
if (luax_istype(L, 3, Data::type))
{
Data *data = luax_checktype<Data>(L, 2);
Data *data = luax_checktype<Data>(L, 3);
cbytes = (const char *) data->getData();
compressedsize = data->getSize();
}