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-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.gz lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.tar.bz2 lua-e888976bc6ba5592fb8ab8ecc04a8f63e217aa74.zip |
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, | |||
308 | luaL_addchar(&b, *LUA_PATH_SEP); | 308 | luaL_addchar(&b, *LUA_PATH_SEP); |
309 | } | 309 | } |
310 | luaL_addstring(&b, dft); /* add default */ | 310 | luaL_addstring(&b, dft); /* add default */ |
311 | if (dftmark < path + len - 2) { /* is there a sufix after ';;'? */ | 311 | if (dftmark < path + len - 2) { /* is there a suffix after ';;'? */ |
312 | luaL_addchar(&b, *LUA_PATH_SEP); | 312 | luaL_addchar(&b, *LUA_PATH_SEP); |
313 | luaL_addlstring(&b, dftmark + 2, (path + len - 2) - dftmark); | 313 | luaL_addlstring(&b, dftmark + 2, (path + len - 2) - dftmark); |
314 | } | 314 | } |