aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index 5aa8850..3b16a06 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -436,8 +436,8 @@ void EpisodeListView::UpdateItem(const LVITEM* const pLvi)
}
ListView_SetItemText(hWnd, pLvi->iItem, ELVSITITLE, wsName.data());
- int iRating;
-r: if (!Pl("episode_data","episode_rating",pLvi->lParam,&iRating)) {
+r: int iRating;
+ if (!Pl("episode_data","episode_rating",pLvi->lParam,&iRating)) {
ListView_SetItemText(hWnd, pLvi->iItem, ELVSIRATING, (wchar_t*)L"");
return;
}
@@ -456,7 +456,7 @@ LRESULT CALLBACK EpisodeListView::WndProc(const HWND hWnd, const UINT uMsg,
/* For the episode list view, the Enter key should not
* be handled by the dialog manager, but instead be sent
* along to the main window procedure, so that it may be
- * handled by the NM_RETURN case in ElvHandleNotify. */
+ * handled by the NM_RETURN case in HandleNotify. */
const LRESULT lResult = CallWindowProc(m_prevProc, hWnd, uMsg, wParam, lParam);
if (lParam && ((MSG*)lParam)->message == WM_KEYDOWN