X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/2d67d0c4acaef2aa527ca60b77832b71bbeca3ad..eaf1e20af0294d79a176d2ac3b35fd4143163051:/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);