aboutsummaryrefslogtreecommitdiff
path: root/c/datalistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-25 03:28:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-25 03:28:05 +0200
commit160b5ac92a846038372225ab79e29166fd152949 (patch)
treeada5441269dbd13f57479180bcafe60cc6fa7525 /c/datalistview.cpp
parent158e54f071a3b2b41e6105fc3064ce8297fe532a (diff)
downloadEpisodeBrowser-160b5ac92a846038372225ab79e29166fd152949.tar.gz
Fix MSVC compatibility.
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r--c/datalistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp
index ec9592d..b63a342 100644
--- a/c/datalistview.cpp
+++ b/c/datalistview.cpp
@@ -88,7 +88,7 @@ void DataListView::ShowEpisode(const int iEpisode)
LVFINDINFO lvfi;
lvfi.flags = LVFI_PARAM;
lvfi.lParam = iEpisode;
- extern EpisodeListView* const g_elv;
+ extern EpisodeListView* g_elv;
int iItem = ListView_FindItem(g_elv->hWnd, -1, &lvfi);
if (iItem != -1)
ListView_EnsureVisible(g_elv->hWnd, iItem, TRUE);