From 38c9737e19d75ad827f24262a21440be2dba888a Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 20 Feb 2005 23:26:47 +0000 Subject: [PATCH] Change "are you sure you want to close this window" default back to what it was ("yes"). Partly because it was inconsistent with gtkdlg.c, and partly because it was annoying me. [originally from svn r5371] --- windows/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/window.c b/windows/window.c index 9d213c7a..b3d350b4 100644 --- a/windows/window.c +++ b/windows/window.c @@ -1860,7 +1860,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, 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);