diff options
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 | } |