mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +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))
|
||||
{
|
||||
Data *data = luax_checktype<Data>(L, 2);
|
||||
Data *data = luax_checktype<Data>(L, 3);
|
||||
cbytes = (const char *) data->getData();
|
||||
compressedsize = data->getSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user