Skip to content

Commit dff5eb6

Browse files
Gareth AdamsGareth Adams
authored andcommitted
Fixes a typo
1 parent 6dfbf91 commit dff5eb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/hid_api/util/wchar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module WCHAR
1515
FORMAT = FORMATS[WCHAR_T_WIDTH].freeze
1616

1717
# Maps a WCHAR_T_WIDTH to the corresponding string encoding
18-
ENCODING = {
18+
ENCODINGS = {
1919
2 => "utf-16le",
2020
4 => "utf-32le"
2121
}.freeze

0 commit comments

Comments
 (0)