Skip to content

Commit

Permalink
Change kfw destroy ticket confirmation message
Browse files Browse the repository at this point in the history
OKCANCEL -> YESNO
Add MB_ICONEXCLAMATION
Change text

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>

(cherry picked from commit 253b9a7)

ticket: 7239
status: resolved
  • Loading branch information
Kevin Wasserman authored and tlyu committed Aug 27, 2012
1 parent 15fe6e4 commit f4438bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/windows/leash/LeashView.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit f4438bb

Please sign in to comment.