Author: khornicek
Date: Sun Oct 5 14:55:15 2014
New Revision: 64546
URL:
http://svn.reactos.org/svn/reactos?rev=64546&view=rev
Log:
[CHARMAP]
- remove dead code
CID 1237028
[SETUPAPI]
- fix swapped arguments
CID 1237062
Modified:
trunk/reactos/base/applications/charmap/settings.c
trunk/reactos/dll/win32/setupapi/misc.c
Modified: trunk/reactos/base/applications/charmap/settings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/charmap/…
==============================================================================
--- trunk/reactos/base/applications/charmap/settings.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/charmap/settings.c [iso-8859-1] Sun Oct 5 14:55:15
2014
@@ -90,8 +90,9 @@
}
RegQueryValueEx(hKey, _T("Advanced"), NULL, &type,
(LPBYTE)&dwAdvanChecked, &size);
+
if(dwAdvanChecked == TRUE)
- SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, (dwAdvanChecked
? MF_CHECKED : MF_UNCHECKED), 0);
+ SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, MF_CHECKED,
0);
RegCloseKey(hKey);
}
Modified: trunk/reactos/dll/win32/setupapi/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/misc.c?…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/misc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/misc.c [iso-8859-1] Sun Oct 5 14:55:15 2014
@@ -1090,7 +1090,7 @@
posX = ((nOwnerWidth - nWindowWidth) / 2) + ptOrigin.x;
posY = ((nOwnerHeight - nWindowHeight) / 2) + ptOrigin.y;
- MoveWindow(hwnd, posX, posY, nWindowHeight, nWindowWidth, 0);
+ MoveWindow(hwnd, posX, posY, nWindowWidth, nWindowHeight, 0);
}