summaryrefslogtreecommitdiff
path: root/cd-tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cd-tool.cpp')
-rw-r--r--cd-tool.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp
index fd123a2..4cf9588 100644
--- a/cd-tool.cpp
+++ b/cd-tool.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: cd-tool.cpp,v 1.17 2003-12-07 04:44:38 pixel Exp $ */
+/* $Id: cd-tool.cpp,v 1.18 2003-12-08 15:12:56 pixel Exp $ */
#include <getopt.h>
#include <stdio.h>
@@ -343,8 +343,7 @@ virtual int startup() throw (GeneralException) {
LuaInput::pushconstruct(L);
LuaOutput::pushconstruct(L);
LuaBuffer::pushconstruct(L);
- Luacdutils::pushstatics(L);
- Luacdfile::pushstatics(L);
+ CD_PUSHSTATICS(L);
L->push("print");
L->push(myprint);
L->settable(LUA_GLOBALSINDEX);
@@ -353,7 +352,6 @@ virtual int startup() throw (GeneralException) {
lcdutil.push(L);
L->settable(LUA_GLOBALSINDEX);
L->load(&Input(arg1));
- getchar();
} else {
showhelp();
printm(M_ERROR, "Command %s unknow.\n", argv[optind]);