mirror of
https://github.com/love2d/love.git
synced 2026-08-21 13:09:56 +02:00
Fix the explicit format + Data argument variant of love.data.decompress.
This commit is contained in:
@@ -171,7 +171,7 @@ int w_decompress(lua_State *L)
|
|||||||
|
|
||||||
if (luax_istype(L, 3, Data::type))
|
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();
|
cbytes = (const char *) data->getData();
|
||||||
compressedsize = data->getSize();
|
compressedsize = data->getSize();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user