[INPUT]
[reactos.git] / reactos / dll / cpl / input / settings.c
index 849d70c..131de5a 100644 (file)
@@ -1,5 +1,4 @@
 /*
- *
  * PROJECT:         input.dll
  * FILE:            dll/win32/input/settings.c
  * PURPOSE:         input.dll
@@ -110,7 +109,6 @@ CreateLayoutIcon(LPTSTR szInd)
     HDC hdc, hdcsrc;
     HBITMAP hBitmap, hBmpNew, hBmpOld;
     RECT rect;
-    DWORD bkColor, bkText;
     HFONT hFont = NULL;
     ICONINFO IconInfo;
     HICON hIcon = NULL;
@@ -131,8 +129,8 @@ CreateLayoutIcon(LPTSTR szInd)
             rect.bottom = 16;
             rect.top = 0;
 
-            bkColor = SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT));
-            bkText  = SetTextColor(hdc, GetSysColor(COLOR_HIGHLIGHTTEXT));
+            SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT));
+            SetTextColor(hdc, GetSysColor(COLOR_HIGHLIGHTTEXT));
 
             ExtTextOut(hdc, rect.left, rect.top, ETO_OPAQUE, &rect, _T(""), 0, NULL);
 
@@ -546,7 +544,7 @@ SaveInputLang(HWND hDlg)
     _ultot(OldLayoutNum, szLayoutNum, 10);
     if (!GetLayoutID(szLayoutNum, szLayoutID)) return;
 
-    // if old layout = selected layout
+    // If old layout = selected layout
     if (_tcscmp(szLayoutID, pts) == 0) return;
 
     if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("Keyboard Layout\\Preload"), 0,
@@ -726,7 +724,7 @@ InputLangPropDlgProc(HWND hDlg,
 
 /* Property page dialog callback */
 INT_PTR CALLBACK
-SettingPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
+SettingsPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
 {
     UNREFERENCED_PARAMETER(lParam);
 
@@ -734,7 +732,7 @@ SettingPageProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
     {
         case WM_INITDIALOG:
         {
-               HIMAGELIST hImgList;
+            HIMAGELIST hImgList;
 
             MainDlgWnd = hwndDlg;
             AddListColumn(hwndDlg);