From cc306c6d9d316217fd713dc3737686a6e10a34a1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 10 Oct 2000 12:43:24 +0000 Subject: [PATCH] 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] --- xlat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xlat.c b/xlat.c index d72e3bfb..57a35f22 100644 --- a/xlat.c +++ b/xlat.c @@ -133,10 +133,8 @@ unsigned char xlat_kbd2tty(unsigned char c) { if(cfg.xlat_enablekoiwin) return win2koi[c]; - else if (cfg.xlat_88592w1250) + else if (cfg.xlat_88592w1250 || cfg.xlat_88592cp852) return xlatWIN1250toISO88592[c]; - else if (cfg.xlat_88592cp852) - return xlatCP852toISO88592[c]; return c; }