aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c/episodelistview.c1
-rw-r--r--c/listview.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index cc300f4..54c8b8c 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -195,6 +195,7 @@ ElvUpdate()
if (!tszName) return;
/* Format episode number string. */
+
ep: cb = 100;
tszEpisode = malloc(cb*sizeof(TCHAR));
if (!tszEpisode) goto e;
diff --git a/c/listview.c b/c/listview.c
index 8a96219..e357905 100644
--- a/c/listview.c
+++ b/c/listview.c
@@ -20,7 +20,7 @@ LvCreate(HMENU hMenu)
WC_LISTVIEW,
TEXT(""),
WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_TABSTOP
- |LVS_REPORT|LVS_NOSORTHEADER,
+ |LVS_REPORT|LVS_NOSORTHEADER|LVS_SHOWSELALWAYS,
0, 0, 0, 0,
HWnd, hMenu, GetModuleHandle(NULL), NULL
);