From 160b5ac92a846038372225ab79e29166fd152949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 25 Aug 2022 03:28:05 +0200 Subject: Fix MSVC compatibility. --- c/datalistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/datalistview.cpp') 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); -- cgit v1.2.3