From e7d51e1b5d67517e78546f36a1f5d909543942f0 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 12 Dec 2004 23:01:08 +0000 Subject: Fixing ldirlib for compilation --- cd-tool.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cd-tool.cpp b/cd-tool.cpp index 6065ed0..6707e69 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.34 2004-11-27 21:47:22 pixel Exp $ */ +/* $Id: cd-tool.cpp,v 1.35 2004-12-12 23:01:08 pixel Exp $ */ #define WIP @@ -517,7 +517,7 @@ virtual int startup() throw (GeneralException) { throw Exit(-1); } } - + if (interactive) L = start_full_lua(); else @@ -554,6 +554,7 @@ virtual int startup() throw (GeneralException) { while (optind < argc) { todo = true; L->load(&Input(argv[optind++]), !compile); + optind++; } /* Doh... */ -- cgit v1.2.3