fix array decode for all weird line breaks

This commit is contained in:
Ward Wouts 2003-04-22 19:25:57 +00:00
parent ff166b5ab5
commit 8982dadad1

View file

@ -1,6 +1,6 @@
#################################
#
# $Dwarf: yenc.rb,v 1.6 2003/04/21 19:45:38 ward Exp $
# $Dwarf: yenc.rb,v 1.7 2003/04/22 19:11:15 ward Exp $
# $Source$
#
# article.rb
@ -222,7 +222,8 @@ def _ydecode_array(data)
while (i < data.length)
line = data[i]
line.chomp!("\r\n")
line.chomp!("\n")
line.chomp!("\r")
print "at #{i} need to go to #{data.length}\n" if Debuglevel > 1
print "line: #{line}" if Debuglevel > 0
i += 1