]> 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)
committerBen Kaduk <kaduk@mit.edu>
Thu, 23 Aug 2012 19:29:47 +0000 (15:29 -0400)
OKCANCEL -> YESNO
Add MB_ICONEXCLAMATION
Change text

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7239 (new)
queue: kfw
target_version: 1.10.4
tags: pullup

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);