diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-17 17:49:43 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-17 17:49:43 +0200 |
commit | bb22bc506676fd268ded3b3d6c7b7acea5dc2db9 (patch) | |
tree | f3df0eca434f86ddc70aab0410a5a4bcd4559b2a /c/datalistview.cpp | |
parent | cd5ff302d1b03edb6fe81254c585e0e88c8e71ee (diff) | |
download | EpisodeBrowser-bb22bc506676fd268ded3b3d6c7b7acea5dc2db9.tar.gz |
Update type names and variable prefixes.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index 855fd03..6262c41 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -11,7 +11,7 @@ #include "main.h" #include "pl.h" -extern EpisodeListView* const g_lpElv; +extern EpisodeListView* const g_pElv; DataListView::DataListView(const HWND hWndParent) : ListView(hWndParent, (HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER) @@ -69,7 +69,7 @@ void DataListView::ShowEpisode(const int iEpisode) LVFINDINFO lvfi; lvfi.flags = LVFI_PARAM; lvfi.lParam = iEpisode; - int iItem = ListView_FindItem(g_lpElv->Handle(), -1, &lvfi); + int iItem = ListView_FindItem(g_pElv->Handle(), -1, &lvfi); if (iItem != -1) - ListView_EnsureVisible(g_lpElv->Handle(), iItem, TRUE); + ListView_EnsureVisible(g_pElv->Handle(), iItem, TRUE); } |