diff options
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); } |