From 3830a1a01fac86fea249fafc81f42b2f1e8ed1ae Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 23 Jan 2004 02:21:00 +0000 Subject: Small fix --- luapatch.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'luapatch.cpp') 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; -- cgit v1.2.3