From ab621173afc918797a4ea68b5d6ceee7cc043f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 16 Aug 2022 15:24:24 +0200 Subject: Add data migration test. --- 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 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(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; -- cgit v1.2.3