Skip to content

Commit

Permalink
fix constant rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zed-0xff committed Mar 1, 2014
1 parent 87516c7 commit a3585c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/zsteg/checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def data2result data, params
# t = data.
# encode('UTF-16', 'UTF-8', :invalid => :replace, :replace => '').
# encode!('UTF-8', 'UTF-16')
# r = t.scan(/\p{Word}{#{MIN_TEXT_LENGTH},}/)
# r = t.scan(/\p{Word}{#{DEFAULT_MIN_STR_LEN},}/)
# r if r.any?
# rescue
# end
Expand Down
2 changes: 1 addition & 1 deletion lib/zsteg/file_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def data2result data
rescue
t = data.force_encoding('binary')
end
if t.size >= Checker::MIN_TEXT_LENGTH
if t.size >= Checker::DEFAULT_MIN_STR_LEN
ZSteg::Result::UnicodeText.new(t,0)
end
else
Expand Down

0 comments on commit a3585c6

Please sign in to comment.