X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/ec55b2200b3a40631648cfa02ed63207b58832fe..cf6e59d623fbfd4efad0d63795ae5e7f33d5aa5b:/window.c diff --git a/window.c b/window.c index 822cb01e..bb436369 100644 --- a/window.c +++ b/window.c @@ -126,6 +126,10 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) { InitCommonControls(); + /* Ensure a Maximize setting in Explorer doesn't maximise the + * config box. */ + defuse_showwindow(); + /* * Process the command line. */ @@ -650,6 +654,9 @@ static void enact_pending_netevent(void) { 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;