diff options
author | Pixel <pixel@nobis-crew.org> | 2009-06-09 20:31:47 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-06-09 20:31:47 -0700 |
commit | e0940305791e86f442cd761de486deb344b8e939 (patch) | |
tree | 3be2a39f3b70aec030b3c5bb595e082ed3a2117c /lib | |
parent | 07c79ea1a1b015c8c8f5ea4bb4b8b5c2aaf6f4b9 (diff) |
Fixing printdir.
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()); |