summaryrefslogtreecommitdiff
path: root/lib/Input.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-08-16 20:30:36 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-08-16 20:30:36 +0200
commitb011a334614861a603f7837c536c51c69b0a4258 (patch)
treedc044c33188577475a2826478961ae3bcdfca51f /lib/Input.cc
parent2eb7a07ca65f2a9491a0a20f6e64667feeee368f (diff)
Remind me... why was this a bad idea again ?
Diffstat (limited to 'lib/Input.cc')
-rw-r--r--lib/Input.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 11cb6ad..9bae53c 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -205,8 +205,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