Author: tfaber
Date: Sun Oct 6 10:31:02 2013
New Revision: 60557
URL:
http://svn.reactos.org/svn/reactos?rev=60557&view=rev
Log:
[POWERCFG.CPL]
- Use Yes/No instead of Ok/Cancel for "Are you sure you want to delete the power
scheme?" Patch by Lee Schroeder.
- Remove some unnecessary casts
CORE-7503 #resolve
Modified:
trunk/reactos/dll/cpl/powercfg/powershemes.c
Modified: trunk/reactos/dll/cpl/powercfg/powershemes.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/powercfg/powershem…
==============================================================================
--- trunk/reactos/dll/cpl/powercfg/powershemes.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/powercfg/powershemes.c [iso-8859-1] Sun Oct 6 10:31:02 2013
@@ -471,7 +471,7 @@
LoadString(hApplet, IDS_DEL_SCHEME_TITLE, szBufT, sizeof(szBufT) / sizeof(TCHAR));
LoadString(hApplet, IDS_DEL_SCHEME, szBuf, sizeof(szBuf) / sizeof(TCHAR));
- if (MessageBox(hwnd, (LPCTSTR)szBuf, (LPCTSTR)szBufT, MB_OKCANCEL | MB_ICONQUESTION) ==
IDOK)
+ if (MessageBox(hwnd, szBuf, szBufT, MB_YESNO | MB_ICONQUESTION) == IDYES)
{
UINT Current;