aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-16 15:24:24 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-16 15:24:24 +0200
commitab621173afc918797a4ea68b5d6ceee7cc043f72 (patch)
treee347f9ff7b8139851e69a84b58717a93e957ab92 /c/episodelistview.cpp
parent1cb00589065fd05b8d7cf0030eed84c488e9634d (diff)
downloadEpisodeBrowser-ab621173afc918797a4ea68b5d6ceee7cc043f72.tar.gz
Add data migration test.
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 e591952..3f2104f 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -53,7 +53,7 @@ LRESULT EpisodeListView::HandleNotify(const LPARAM lParam)
case LVN_GETDISPINFO: /* Display item. */
{
NMLVDISPINFO* const nm = reinterpret_cast<NMLVDISPINFO*>(lParam);
- ElvData& e = m_vData.at(nm->item.lParam-1);
+ ElvDataA& e = m_vData.at(nm->item.lParam-1);
wchar_t* vs[] = {e.siEp, e.title, e.sRating}; /* ELVSIEPISODE, ELVSITITLE, ELVSIRATING */
nm->item.pszText = vs[nm->item.iSubItem];
return 0;
@@ -336,7 +336,7 @@ void EpisodeListView::Update()
m_vData.clear();
ListView_DeleteAllItems(hWnd);
for (int iEp = 1; iEp <= cEp; iEp++) {
- ElvData e;
+ ElvDataA e;
if (!FromProlog(iEp, e))
goto push;