fix binary code mixup

mixed get_word with get_internal_word
This commit is contained in:
Torsten Ruger
2018-04-01 12:13:14 +03:00
parent 727069a306
commit 5c89884df9
2 changed files with 13 additions and 2 deletions

View File

@ -25,8 +25,8 @@ module Parfait
end
def each_word
index = 1
while( index < 14)
yield get_internal_word(index)
while( index <= data_length)
yield get_word(index)
index += 1
end
end