~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Format SSH2_MSG_DISCONNECT correctly (with reason code, reason
[sgt/putty]
/
xlat.c
diff --git
a/xlat.c
b/xlat.c
index
57a35f2
..
092f5ca
100644
(file)
--- a/
xlat.c
+++ b/
xlat.c
@@
-1,11
+1,4
@@
#include <windows.h>
#include <windows.h>
-#ifndef AUTO_WINSOCK
-#ifdef WINSOCK_TWO
-#include <winsock2.h>
-#else
-#include <winsock.h>
-#endif
-#endif
#include <stdio.h>
#include "putty.h"
#include <stdio.h>
#include "putty.h"
@@
-142,6
+135,8
@@
unsigned char xlat_tty2scr(unsigned char c)
{
if(cfg.xlat_enablekoiwin)
return koi2win[c];
{
if(cfg.xlat_enablekoiwin)
return koi2win[c];
+ else if (cfg.xlat_88592w1250)
+ return xlatISO88592toWIN1250[c];
else if (cfg.xlat_88592cp852)
return xlatISO88592toCP852[c];
return c;
else if (cfg.xlat_88592cp852)
return xlatISO88592toCP852[c];
return c;