1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-05-10 22:22:10 -05:00

ISO8859-2 to CP852 output translation wants to have Win1250 to ISO8859-2

input translation as its counterpart, not CP852 to ISO8859-2. Because the
reason you want this translation is if your _font_ is coded CP852 - in which
case your keymap will not follow suit but will still be in Win1250.

[originally from svn r701]
This commit is contained in:
Simon Tatham 2000-10-10 12:43:24 +00:00
parent b5957e5732
commit cc306c6d9d

4
xlat.c
View File

@ -133,10 +133,8 @@ unsigned char xlat_kbd2tty(unsigned char c)
{ {
if(cfg.xlat_enablekoiwin) if(cfg.xlat_enablekoiwin)
return win2koi[c]; return win2koi[c];
else if (cfg.xlat_88592w1250) else if (cfg.xlat_88592w1250 || cfg.xlat_88592cp852)
return xlatWIN1250toISO88592[c]; return xlatWIN1250toISO88592[c];
else if (cfg.xlat_88592cp852)
return xlatCP852toISO88592[c];
return c; return c;
} }