https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d5bd08fca429624869001b926d2cf134865c8618
commit d5bd08fca429624869001b926d2cf134865c8618 Author: Stanislav Motylkov <x86co...@gmail.com> AuthorDate: Tue Oct 4 21:14:31 2022 +0300 Commit: Stanislav Motylkov <x86co...@gmail.com> CommitDate: Tue Oct 4 21:14:31 2022 +0300 [REACTOS][CPL] Coding style fixes only --- base/applications/mstsc/connectdialog.c | 2 +- dll/cpl/desk/settings.c | 2 +- dll/cpl/sysdm/general.c | 2 +- dll/cpl/timedate/timezone.c | 2 +- modules/rostests/tests/statst2/statst2.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/base/applications/mstsc/connectdialog.c b/base/applications/mstsc/connectdialog.c index 5e3d2720f69..3795a7f0640 100644 --- a/base/applications/mstsc/connectdialog.c +++ b/base/applications/mstsc/connectdialog.c @@ -944,7 +944,7 @@ DisplayDlgProc(HWND hDlg, case WM_DRAWITEM: { LPDRAWITEMSTRUCT lpDrawItem; - lpDrawItem = (LPDRAWITEMSTRUCT) lParam; + lpDrawItem = (LPDRAWITEMSTRUCT)lParam; if(lpDrawItem->CtlID == IDC_COLORIMAGE) { HDC hdcMem; diff --git a/dll/cpl/desk/settings.c b/dll/cpl/desk/settings.c index 8784f4a9743..602df32800b 100644 --- a/dll/cpl/desk/settings.c +++ b/dll/cpl/desk/settings.c @@ -892,7 +892,7 @@ SettingsPageProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lPar case WM_DRAWITEM: { LPDRAWITEMSTRUCT lpDrawItem; - lpDrawItem = (LPDRAWITEMSTRUCT) lParam; + lpDrawItem = (LPDRAWITEMSTRUCT)lParam; switch (lpDrawItem->CtlID) { diff --git a/dll/cpl/sysdm/general.c b/dll/cpl/sysdm/general.c index e09b4a44b6d..d6d1288786a 100644 --- a/dll/cpl/sysdm/general.c +++ b/dll/cpl/sysdm/general.c @@ -747,7 +747,7 @@ INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM case WM_DRAWITEM: { - LPDRAWITEMSTRUCT lpDrawItem = (LPDRAWITEMSTRUCT) lParam; + LPDRAWITEMSTRUCT lpDrawItem = (LPDRAWITEMSTRUCT)lParam; if (lpDrawItem->CtlID == IDC_ROSIMG) { diff --git a/dll/cpl/timedate/timezone.c b/dll/cpl/timedate/timezone.c index cd7361136a9..dcc8fab661a 100644 --- a/dll/cpl/timedate/timezone.c +++ b/dll/cpl/timedate/timezone.c @@ -285,7 +285,7 @@ TimeZonePageProc(HWND hwndDlg, case WM_DRAWITEM: { LPDRAWITEMSTRUCT lpDrawItem; - lpDrawItem = (LPDRAWITEMSTRUCT) lParam; + lpDrawItem = (LPDRAWITEMSTRUCT)lParam; if(lpDrawItem->CtlID == IDC_WORLD_BACKGROUND) { HDC hdcMem; diff --git a/modules/rostests/tests/statst2/statst2.c b/modules/rostests/tests/statst2/statst2.c index 6ac769ed38b..2cd856ce06b 100644 --- a/modules/rostests/tests/statst2/statst2.c +++ b/modules/rostests/tests/statst2/statst2.c @@ -100,7 +100,7 @@ LRESULT CALLBACK WndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ) case WM_DRAWITEM: { - LPDRAWITEMSTRUCT lpDrawItem = (LPDRAWITEMSTRUCT) lParam; + LPDRAWITEMSTRUCT lpDrawItem = (LPDRAWITEMSTRUCT)lParam; DrawText ( lpDrawItem->hDC, "SS_DRAWITEM test successful!", 28, &(lpDrawItem->rcItem), 0 ); } break;