Skip to content

Commit bed04c5

Browse files
committed
Use correct registry name for windows-1251 charset
* src/ftfont.c (fc_charset_table): The registry to use to lookup windows-1251 charset is microsoft-cp1251, not windows-1251. (Bug#40097)
1 parent 1aa1529 commit bed04c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ftfont.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static struct
119119
{ "jisx0213.2004-1", { 0x20B9F }},
120120
{ "viscii1.1-1", { 0x1EA0, 0x1EAE, 0x1ED2 }, "vi"},
121121
{ "tis620.2529-1", { 0x0E01 }, "th"},
122-
{ "windows-1251", { 0x0401, 0x0490 }, "ru"},
122+
{ "microsoft-cp1251", { 0x0401, 0x0490 }, "ru"},
123123
{ "koi8-r", { 0x0401, 0x2219 }, "ru"},
124124
{ "mulelao-1", { 0x0E81 }, "lo"},
125125
{ "unicode-sip", { 0x20000 }},

0 commit comments

Comments
 (0)