X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/2d67d0c4acaef2aa527ca60b77832b71bbeca3ad..bdebd7e98958c2c61b3bcaed14129e5b7d68b589:/windows/windlg.c diff --git a/windows/windlg.c b/windows/windlg.c index dba4d5fa..3f028019 100644 --- a/windows/windlg.c +++ b/windows/windlg.c @@ -1,3 +1,7 @@ +/* + * windlg.c - dialogs for PuTTY(tel), including the configuration dialog. + */ + #include #include #include @@ -240,11 +244,7 @@ static int SaneDialogBox(HINSTANCE hinst, wc.style = CS_DBLCLKS | CS_SAVEBITS | CS_BYTEALIGNWINDOW; wc.lpfnWndProc = DefDlgProc; wc.cbClsExtra = 0; -#ifdef LONG_PTR wc.cbWndExtra = DLGWINDOWEXTRA + 2*sizeof(LONG_PTR); -#else - wc.cbWndExtra = DLGWINDOWEXTRA + 8; -#endif wc.hInstance = hinst; wc.hIcon = NULL; wc.hCursor = LoadCursor(NULL, IDC_ARROW);