summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-12 23:01:08 +0000
committerpixel <pixel>2004-12-12 23:01:08 +0000
commite7d51e1b5d67517e78546f36a1f5d909543942f0 (patch)
tree3c69dd6d8e8d026c8458f2785db1abaad7ae22a0
parent67d35e0b9a001ac4dcb16af2ee21ff4feb8a128d (diff)
Fixing ldirlib for compilation
-rw-r--r--cd-tool.cpp5
1 files 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... */