From e0940305791e86f442cd761de486deb344b8e939 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 9 Jun 2009 20:31:47 -0700 Subject: Fixing printdir. --- lib/luacd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3