mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 03:07:05 +00:00
Remove stray semicolon, change indentation.
svn path=/trunk/; revision=37918
This commit is contained in:
parent
309ea97e6c
commit
2772b79efd
1 changed files with 23 additions and 21 deletions
|
@ -71,15 +71,16 @@ InitRadioButtons(HWND hWnd)
|
|||
{
|
||||
HKEY hKey;
|
||||
|
||||
if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Controls Folder\\Display"),
|
||||
if (RegOpenKeyEx(HKEY_CURRENT_USER,
|
||||
_T("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Controls Folder\\Display"),
|
||||
0, KEY_READ, &hKey) == ERROR_SUCCESS)
|
||||
{
|
||||
TCHAR szBuf[64];
|
||||
DWORD dwSize = 64;
|
||||
|
||||
if (RegQueryValueEx(hKey, _T("DynaSettingsChange"), 0, NULL,
|
||||
(LPBYTE)szBuf, &dwSize) == ERROR_SUCCESS);
|
||||
|
||||
(LPBYTE)szBuf, &dwSize) == ERROR_SUCCESS)
|
||||
{
|
||||
switch (_ttoi(szBuf))
|
||||
{
|
||||
case 0:
|
||||
|
@ -92,6 +93,7 @@ InitRadioButtons(HWND hWnd)
|
|||
SendDlgItemMessage(hWnd, IDC_ASKME_RB, BM_SETCHECK, 1, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue