apply patch for bug #1446926

This commit is contained in:
technorama 2006-04-30 03:55:27 +00:00
parent 876460a9cc
commit 8f593b4b2b
1 changed files with 1 additions and 1 deletions

View File

@ -869,7 +869,7 @@ module Zip
def put_next_entry(entry, level = Zlib::DEFAULT_COMPRESSION)
raise ZipError, "zip stream is closed" if @closed
newEntry = entry.kind_of?(ZipEntry) ? entry : ZipEntry.new(@fileName, entry.to_s)
init_next_entry(newEntry)
init_next_entry(newEntry, level)
@currentEntry=newEntry
end