aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r--c/episodelistview.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index ab54f81..0b9e855 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -51,7 +51,7 @@ ElvHandleNotify(LPARAM lParam)
&& (pNmLv->uNewState & LVIS_FOCUSED)) {
g_SelectedItem = pNmLv->iItem;
ElvUpdateName(pNmLv);
- //DlvShowEpisode(pNmLv->lParam);
+ DlvShowEpisode(pNmLv->lParam);
}
break;
case NM_CUSTOMDRAW:
@@ -87,7 +87,6 @@ ElvUpdate()
term_t t;
hListView = GetDlgItem(gElv_hWnd, IDC_EPISODELISTVIEW);
-
ListView_DeleteAllItems(hListView);
lviEpisode.mask = LVIF_TEXT|LVIF_PARAM;
@@ -139,7 +138,6 @@ ElvUpdate()
/* Insert item. */
- lviEpisode.mask = LVIF_TEXT|LVIF_STATE|LVIF_PARAM;
lviEpisode.iItem = i;
lviEpisode.iSubItem = 0;
lviEpisode.pszText = tszEpisode;