From e96b4db3fb46384f286e9297186b87648c7219c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 17 Jul 2022 02:05:15 +0200 Subject: Add const to pointers, update spacing. It seems that "right-spaced" pointers are more widely used among C++ programmers. --- c/listview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/listview.cpp') diff --git a/c/listview.cpp b/c/listview.cpp index 5791226..4a64398 100644 --- a/c/listview.cpp +++ b/c/listview.cpp @@ -90,7 +90,7 @@ LRESULT CALLBACK ListView::WndProc(const HWND hWnd, const UINT uMsg, LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam, const LPARAM lParam) { - ListView *lpLv = (ListView *)GetProp(hWnd, TEXT("this")); + ListView* const lpLv = (ListView*)GetProp(hWnd, TEXT("this")); if (uMsg == WM_DESTROY) RemoveProp(hWnd, TEXT("this")); -- cgit v1.2.3