Author: dchapyshev
Date: Sat Jan 12 18:14:54 2008
New Revision: 31735
URL:
http://svn.reactos.org/svn/reactos?rev=31735&view=rev
Log:
- Fix formatting
Modified:
trunk/reactos/dll/cpl/input/add.c
trunk/reactos/dll/cpl/input/advanced.c
trunk/reactos/dll/cpl/input/settings.c
Modified: trunk/reactos/dll/cpl/input/add.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/add.c?rev=31…
==============================================================================
--- trunk/reactos/dll/cpl/input/add.c (original)
+++ trunk/reactos/dll/cpl/input/add.c Sat Jan 12 18:14:54 2008
@@ -31,30 +31,6 @@
HWND hLanguageList;
-/*struct LangAndLayout
-{
- TCHAR Lang;
- TCHAR Layout;
- TCHAR SubLayout;
-} VarLang[133];
-
-char *SubLang[133] = {}
-
-VOID CreateLangStruct(VOID)
-{
- UINT Count;
- TCHAR Layout[256];
-
- for(Count = 0; Count < END_LAYOUT - BEGIN_LAYOUT; Count++)
- {
- LoadString(hApplet,
- Count,
- Layout,
- sizeof(Layout) / sizeof(TCHAR));
- strcpy(VarLang[Count].Layout,Layout);
- }
-}*/
-
/* Language enumerate procedure */
BOOL
CALLBACK
@@ -85,7 +61,6 @@
VOID
CreateLanguagesList(HWND hWnd)
{
- //TCHAR LangSel[256];
hLanguageList = hWnd;
EnumSystemLocales(LanguagesEnumProc, LCID_INSTALLED);
Modified: trunk/reactos/dll/cpl/input/advanced.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/advanced.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/input/advanced.c (original)
+++ trunk/reactos/dll/cpl/input/advanced.c Sat Jan 12 18:14:54 2008
@@ -74,7 +74,7 @@
dwValue = 0x1;
else
dwValue = 0x0;
- RegSetValueEx(hKey,
+ RegSetValueEx(hKey,
L"Disable Thread Input Manager",
0,
REG_DWORD,
@@ -117,12 +117,12 @@
if (SendDlgItemMessage(hwndDlg, IDC_TURNOFF_ADV_TXTSERV_CHECKBOX,
BM_GETCHECK, 0, 0) == BST_CHECKED)
{
EnableWindow(GetDlgItem(hwndDlg,
IDC_SUPPORT_ADV_SERV_CHECKBOX),FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_SUPPORT_ADV_SERV_TEXT),FALSE);
+ EnableWindow(GetDlgItem(hwndDlg,
IDC_SUPPORT_ADV_SERV_TEXT),FALSE);
}
else
{
EnableWindow(GetDlgItem(hwndDlg,
IDC_SUPPORT_ADV_SERV_CHECKBOX),TRUE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_SUPPORT_ADV_SERV_TEXT),TRUE);
+ EnableWindow(GetDlgItem(hwndDlg,
IDC_SUPPORT_ADV_SERV_TEXT),TRUE);
}
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
}
Modified: trunk/reactos/dll/cpl/input/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/settings.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/input/settings.c (original)
+++ trunk/reactos/dll/cpl/input/settings.c Sat Jan 12 18:14:54 2008
@@ -262,8 +262,8 @@
case WM_INITDIALOG:
{
InitLangList(hwndDlg);
- EnableWindow(GetDlgItem(hwndDlg, IDC_PROP_BUTTON),FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_SET_DEFAULT),FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_PROP_BUTTON),FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_SET_DEFAULT),FALSE);
}
break;
case WM_NOTIFY:
@@ -285,7 +285,7 @@
break;
}
}
- break;
+ break;
case WM_COMMAND:
switch (LOWORD(wParam))
{