#define PUTTY_DO_GLOBALS /* actually _define_ globals */
#include "putty.h"
+#include "winstuff.h"
#include "storage.h"
#include "win_res.h"
MSG msg;
int guess_width, guess_height;
- putty_inst = inst;
+ hinst = inst;
flags = FLAG_VERBOSE | FLAG_INTERACTIVE;
winsock_ver = MAKEWORD(1, 1);
InitCommonControls();
+ /* Ensure a Maximize setting in Explorer doesn't maximise the
+ * config box. */
+ defuse_showwindow();
+
/*
* Process the command line.
*/
case WSAECONNRESET:
sprintf(buf, "Connection reset by peer");
break;
+ case WSAECONNABORTED:
+ sprintf(buf, "Connection aborted");
+ break;
default:
sprintf(buf, "Unexpected network error %d", -i);
break;