Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinnegatamante committed Apr 7, 2021
1 parent 35a4409 commit ef092f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/luaSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ static int lua_addzip(lua_State *L) {
const char *FileName = luaL_checkstring(L, 2);
char *Parent = luaL_checkstring(L, 3);
int compression_level = Z_DEFAULT_COMPRESSION;
if (argc == 3) compression_level = luaL_checkinteger(L, 4);
if (argc == 4) compression_level = luaL_checkinteger(L, 4);
zipFile zFile = zipOpen(FileName, APPEND_STATUS_ADDINZIP);
FILE *f = fopen(ToCompress, "r");
if (f) {
Expand Down

0 comments on commit ef092f6

Please sign in to comment.