summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2004-01-23 02:21:00 +0000
committerpixel <pixel>2004-01-23 02:21:00 +0000
commit3830a1a01fac86fea249fafc81f42b2f1e8ed1ae (patch)
treeb9041a6c0c28fd5a3e973823cae7c9714da4764a
parent7f76c68d857545338ddbf2d619185ea5562cbd14 (diff)
Small fix
-rw-r--r--luapatch.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/luapatch.cpp b/luapatch.cpp
index 369858f..0bee6c2 100644
--- a/luapatch.cpp
+++ b/luapatch.cpp
@@ -417,6 +417,11 @@ virtual int startup(void) throw (GeneralException) {
if (quit)
exit(0);
+
+ Input * fpatch = new Input(patch);
+ fpatch->seek(0);
+
+ new Archive(fpatch);
Output * o;
cdutils * cdutil;
@@ -446,7 +451,6 @@ virtual int startup(void) throw (GeneralException) {
L->push("iso");
liso.push(L);
L->setvar();
- new Archive(patch);
L->load(&Input("main"));
delete b;