mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:45:41 +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;
|
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)
|
0, KEY_READ, &hKey) == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
TCHAR szBuf[64];
|
TCHAR szBuf[64];
|
||||||
DWORD dwSize = 64;
|
DWORD dwSize = 64;
|
||||||
|
|
||||||
if (RegQueryValueEx(hKey, _T("DynaSettingsChange"), 0, NULL,
|
if (RegQueryValueEx(hKey, _T("DynaSettingsChange"), 0, NULL,
|
||||||
(LPBYTE)szBuf, &dwSize) == ERROR_SUCCESS);
|
(LPBYTE)szBuf, &dwSize) == ERROR_SUCCESS)
|
||||||
|
{
|
||||||
switch (_ttoi(szBuf))
|
switch (_ttoi(szBuf))
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -92,6 +93,7 @@ InitRadioButtons(HWND hWnd)
|
||||||
SendDlgItemMessage(hWnd, IDC_ASKME_RB, BM_SETCHECK, 1, 1);
|
SendDlgItemMessage(hWnd, IDC_ASKME_RB, BM_SETCHECK, 1, 1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RegCloseKey(hKey);
|
RegCloseKey(hKey);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue