summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Input.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index c26fba6..f246f73 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -90,7 +90,7 @@ Input::Input(const String & no) throw (GeneralException) :
seek(0, SEEK_SET);
}
} else {
-// size = results.size;
+ size = results.size;
seek(results.ptr, SEEK_SET);
size = readU32();
date_modif = 0;
@@ -160,6 +160,7 @@ int Input::wrapopen(const String & fname, openresults_t * results) {
return Archive::open(fname, results);
}
}
+ results->name = "";
return open(fname.to_charp(), O_RDONLY);
}