diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-05 15:03:15 -0300 |
commit | e888976bc6ba5592fb8ab8ecc04a8f63e217aa74 (patch) | |
tree | ae0a03f16d413e6a901c6a5f64058264974672fb /loadlib.c | |
parent | 4d46289331395a845c5de1f6c0e0fe873c50db4f (diff) | |
download | lua-github-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.gz |
Details (typos in comments)
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -308,7 +308,7 @@ static void setpath (lua_State *L, const char *fieldname, luaL_addchar(&b, *LUA_PATH_SEP); } luaL_addstring(&b, dft); /* add default */ - if (dftmark < path + len - 2) { /* is there a sufix after ';;'? */ + if (dftmark < path + len - 2) { /* is there a suffix after ';;'? */ luaL_addchar(&b, *LUA_PATH_SEP); luaL_addlstring(&b, dftmark + 2, (path + len - 2) - dftmark); } |