From d9e1caa37e53c7dbc42b1fc652efc23a40c47c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jul 2022 19:56:53 +0200 Subject: Limit use of Hungarian notation. I don't hate Hungarian notation. It has some very nice qualities. But it also adds a lot of typing. That said, not using it feels a bit... unsafe. I might go back on this decision. We'll see. --- c/episodelistview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c/episodelistview.h') diff --git a/c/episodelistview.h b/c/episodelistview.h index 8a96096..420d038 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -20,15 +20,15 @@ struct EpisodeListView : public ListView void RestoreFocus(); void SaveFocus(); void SetTop(int iItem); - void SelectUnwatched(int iDir); + void SelectUnwatched(int dir); void ShowFocus(); void Sort(); void Update(); void UpdateItem(int iItem, LPARAM lParam); LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override; private: - int m_iSort; - static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM lExtra); + int m_iSortCol; + static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM extra); }; #endif -- cgit v1.2.3