Skip to content

Commit a297f9e

Browse files
Synchronize changes from 1.6 master branch [ci skip]
04b8ee6 Small tweak for CLuaUtilDefs::Split
2 parents cc3b759 + 04b8ee6 commit a297f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/mods/deathmatch/logic/luadefs/CLuaUtilDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ int CLuaUtilDefs::Split(lua_State* luaVM)
227227
lua_pushstring(luaVM, szToken);
228228
lua_settable(luaVM, -3);
229229

230-
szToken = strtok(NULL, strDelimiter);
230+
szToken = strtok(nullptr, strDelimiter.c_str());
231231
}
232232

233233
// Delete the text

0 commit comments

Comments
 (0)