diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/luacd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/luacd.cpp b/lib/luacd.cpp index 6855b9a..9c4e55a 100644 --- a/lib/luacd.cpp +++ b/lib/luacd.cpp @@ -484,7 +484,7 @@ int sLua_cdutils::cdutils_proceed(Lua * L, int n, cdutils * cd, int caller) { L->error("Cdutils object void"); break; case CDUTILS_PRINTDIR: - path = L->tostring(1); + path = L->tostring(2); if (cd) { char * f; cdutils::DirEntry dir = cd->find_path(f = path.strdup()); |