Skip to content

Commit

Permalink
Fix manual
Browse files Browse the repository at this point in the history
  • Loading branch information
pointlessone committed Dec 24, 2016
1 parent 5ae2a54 commit 368d122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manual/text/win_ansi_charset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
end

code = "%d." % index
char = index.chr
char = index.chr.force_encoding(::Encoding::Windows_1252)

width = 1000 * width_of(char, :size => FONT_SIZE) / FONT_SIZE
size = "%d" % width
Expand Down

0 comments on commit 368d122

Please sign in to comment.