Skip to content
Browse files

Fix Zlib.inflate on JRuby.

  • Loading branch information...
1 parent 6de7d33 commit a774de14da15f90be2747676e749656bf3e7c087 @whitequark committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/furnace-swf/swf/file.rb
View
2 lib/furnace-swf/swf/file.rb
@@ -17,7 +17,7 @@ def do_read(io)
when 'FWS'
stream.do_read io
when 'CWS'
- uncompressed = Zlib.inflate(io.read_all_bytes)
+ uncompressed = Zlib::Inflate.inflate(io.read_all_bytes)
stream.do_read BinData::IO.new(StringIO.new(uncompressed))
else
raise ArgumentError, "invalid signature"

0 comments on commit a774de1

Please sign in to comment.
Something went wrong with that request. Please try again.