mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
On Windows, character set specifications of the form 'IBM437' would never have
worked due to a typo. Spotted by Todd Burkey. [originally from svn r8755]
This commit is contained in:
parent
269979809e
commit
99455bfc33
@ -1088,7 +1088,7 @@ int decode_codepage(char *cp_name)
|
||||
if (tolower(d[0]) == 'c' && tolower(d[1]) == 'p')
|
||||
d += 2;
|
||||
if (tolower(d[0]) == 'i' && tolower(d[1]) == 'b'
|
||||
&& tolower(d[1]) == 'm')
|
||||
&& tolower(d[2]) == 'm')
|
||||
d += 3;
|
||||
for (s = d; *s >= '0' && *s <= '9'; s++);
|
||||
if (*s == 0 && s != d)
|
||||
|
Loading…
Reference in New Issue
Block a user