diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-17 02:05:15 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-17 02:05:15 +0200 |
commit | e96b4db3fb46384f286e9297186b87648c7219c4 (patch) | |
tree | 16766c9d41426ee110f374e5915ab5d6b9bcdb2a /c/listview.cpp | |
parent | 26bc41099c10b3a63fd744690df5c25cb713718b (diff) | |
download | EpisodeBrowser-e96b4db3fb46384f286e9297186b87648c7219c4.tar.gz |
Add const to pointers, update spacing.
It seems that "right-spaced" pointers are more widely used among C++
programmers.
Diffstat (limited to 'c/listview.cpp')
-rw-r--r-- | c/listview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |