]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Change kfw destroy ticket confirmation message
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Fri, 20 Jul 2012 15:07:48 +0000 (11:07 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 27 Aug 2012 23:27:29 +0000 (19:27 -0400)
OKCANCEL -> YESNO
Add MB_ICONEXCLAMATION
Change text

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
(cherry picked from commit 253b9a7f317d03c3392add07d3da2c4c4ecfc08f)

ticket: 7239
status: resolved

src/windows/leash/LeashView.cpp

index 1b67937c5141a8961b692564de062bd09dcbc343..3c91e32862762200012449f0cd529fc5182af77a 100644 (file)
@@ -752,8 +752,8 @@ VOID CLeashView::OnDestroyTicket()
         INT whatToDo;
 
         if (!CLeashApp::m_hAfsDLL)
-            whatToDo = AfxMessageBox("You are about to destroy your ticket(s)!",
-                                     MB_OKCANCEL, 0);
+            whatToDo = AfxMessageBox("Are you sure you want to destroy these tickets?",
+                                     MB_ICONEXCLAMATION|MB_YESNO, 0);
         else
             whatToDo = AfxMessageBox("You are about to destroy your ticket(s)/token(s)!",
                                      MB_OKCANCEL, 0);