aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.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/episodelistview.cpp
parent158e54f071a3b2b41e6105fc3064ce8297fe532a (diff)
downloadEpisodeBrowser-160b5ac92a846038372225ab79e29166fd152949.tar.gz
Fix MSVC compatibility.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp4
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;