Skip to content

Commit

Permalink
Merge pull request #3 from undeath/master
Browse files Browse the repository at this point in the history
Minor CharacterFrequencyAgent output bug
  • Loading branch information
T. Alexander Lystad committed Mar 14, 2012
2 parents 3496afc + 61db7c0 commit 6a80f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passpal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def report
})
"Total characters: \t" + @charCount.to_s +
"\nUnique characters: \t" + unique.to_s +
"\nTop 50 characters: \t" + '' + charset_string +
"\nTop 50 characters: \t" + '' + charset_string[0..49] +
"\n\nCharacter frequency, sorted by count, top " + $top.to_s + "\n" + table.sub_table(0...$top.to_i).to_s
end
end
Expand Down

0 comments on commit 6a80f0a

Please sign in to comment.