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/episodelistview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/episodelistview.cpp') diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp index 72a8618..8185b51 100644 --- a/c/episodelistview.cpp +++ b/c/episodelistview.cpp @@ -121,7 +121,7 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam) case LVN_ITEMCHANGED: /* Select/focus episode. */ if ((nm->uChanged & LVIF_STATE) && (nm->uNewState & LVIS_FOCUSED)) { - extern DataListView* const g_dlv; + extern DataListView* g_dlv; g_dlv->ShowEpisode(nm->lParam); } return 0; @@ -217,7 +217,7 @@ void EpisodeListView::RestoreFocus() { int i, iEpisode, iItem; LVFINDINFO lvfi; - extern DataListView* const g_dlv; + extern DataListView* g_dlv; iItem = 0; iEpisode = g_cfg.iFocus; -- cgit v1.2.3