was ("yes"). Partly because it was inconsistent with gtkdlg.c, and partly
because it was annoying me.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5371
cda61777-01e9-0310-a592-
d414129be87e
if (!cfg.warn_on_close || session_closed ||
MessageBox(hwnd,
"Are you sure you want to close this session?",
if (!cfg.warn_on_close || session_closed ||
MessageBox(hwnd,
"Are you sure you want to close this session?",
- str, MB_ICONWARNING | MB_OKCANCEL | MB_DEFBUTTON2)
+ str, MB_ICONWARNING | MB_OKCANCEL | MB_DEFBUTTON1)
== IDOK)
DestroyWindow(hwnd);
sfree(str);
== IDOK)
DestroyWindow(hwnd);
sfree(str);