diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-25 03:28:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-25 03:28:05 +0200 |
commit | 160b5ac92a846038372225ab79e29166fd152949 (patch) | |
tree | ada5441269dbd13f57479180bcafe60cc6fa7525 /c/episodelistview.cpp | |
parent | 158e54f071a3b2b41e6105fc3064ce8297fe532a (diff) | |
download | EpisodeBrowser-160b5ac92a846038372225ab79e29166fd152949.tar.gz |
Fix MSVC compatibility.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r-- | c/episodelistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |