diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-16 15:24:24 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-16 15:24:24 +0200 |
commit | ab621173afc918797a4ea68b5d6ceee7cc043f72 (patch) | |
tree | e347f9ff7b8139851e69a84b58717a93e957ab92 /c/episodelistview.cpp | |
parent | 1cb00589065fd05b8d7cf0030eed84c488e9634d (diff) | |
download | EpisodeBrowser-ab621173afc918797a4ea68b5d6ceee7cc043f72.tar.gz |
Add data migration test.
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 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; |