diff --git a/mscrypto.c b/mscrypto.c index 9d110ac3..c4f3380f 100644 --- a/mscrypto.c +++ b/mscrypto.c @@ -1,3 +1,4 @@ +#error "This file is no longer part of PuTTY, it will not compile." #define _WIN32_WINNT 0x0400 #include #include diff --git a/scp.c b/scp.c index faf60ea4..5537ef33 100644 --- a/scp.c +++ b/scp.c @@ -22,9 +22,6 @@ #include #include #include -/* GUI Adaptation - Sept 2000 */ -#include -#include #define PUTTY_DO_GLOBALS #include "putty.h" diff --git a/sizetip.c b/sizetip.c index c8832113..ab709b5b 100644 --- a/sizetip.c +++ b/sizetip.c @@ -1,8 +1,7 @@ #include -#include -#include #include #include +#include #include "putty.h" #include "winstuff.h" diff --git a/sshzlib.c b/sshzlib.c index cf471dbd..dc23f5cc 100644 --- a/sshzlib.c +++ b/sshzlib.c @@ -40,13 +40,13 @@ #include #include -/* FIXME */ -#include -#include -#include "putty.h" - #include "ssh.h" +#ifndef FALSE +#define FALSE 0 +#define TRUE (!FALSE) +#endif + /* ---------------------------------------------------------------------- * Basic LZ77 code. This bit is designed modularly, so it could be * ripped out and used in a different LZ77 compressor. Go to it, diff --git a/unicode.c b/unicode.c index ad14b325..c3e10519 100644 --- a/unicode.c +++ b/unicode.c @@ -16,7 +16,7 @@ static void get_unitab(int codepage, wchar_t * unitab, int ftype); /* Character conversion arrays; they are usually taken from windows, * the xterm one has the four scanlines that have no unicode 2.0 - * equlivents mapped into the private area. + * equivalents mapped to their unicode 3.0 locations. */ static char **uni_tbl; @@ -267,7 +267,7 @@ void init_ucs_tables(void) int i, j; int used_dtf = 0; char tbuf[256]; - int old_codepage = line_codepage; + for (i = 0; i < 256; i++) tbuf[i] = i;