summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Input.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 4c2f419..45a238f 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -204,8 +204,10 @@ int Input::wrapopen(const String & fname, openresults_t * results) {
}
void Input::SetZ(int l) throw(GeneralException) {
- if (!fromarchive)
+ if (!fromarchive) {
Handle::SetZ(l);
+ size = -1;
+ }
}
#ifdef HOOK_STDS