Skip to content

Commit 85f0e03

Browse files
committed
Fix typo in c24b118
1 parent fc8f39e commit 85f0e03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vendor/lua/src/lua.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,11 @@ LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
221221

222222
LUA_API int (lua_dump) (lua_State *L, lua_Writer writer, void *data);
223223
// MTA specific: Returns the number of expected results in a C call.
224-
// Note that this will no longer be reliable if
224+
// Note that this will no longer be reliable if another C function is
225+
// called before calling lua_ncallresult.
225226
// It will also not be reliable in case of incorrectly called functions
226-
// e.g.
227-
// local a, b = tostring(3)
227+
// e.g.
228+
// local a, b = tostring(3)
228229
// will return 2, despite tostring only returning one number
229230
LUA_API int (lua_ncallresult) (lua_State* L);
230231

0 commit comments

Comments
 (0)