Details (typos in comments)

This commit is contained in:
Roberto Ierusalimschy
2019-07-05 15:03:15 -03:00
parent 4d46289331
commit e888976bc6
9 changed files with 19 additions and 19 deletions

View File

@@ -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);
}