diff options
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r-- | c/episodelistview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c index 39b5c8a..cc300f4 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -163,7 +163,7 @@ s: ElvSetTop(iItem > 5? iItem-5: 0); void ElvUpdate() { - int iLast, iTop; + int iEpisodes, iTop; LVITEM lviEpisode, lviName; term_t t; @@ -175,10 +175,10 @@ ElvUpdate() lviName.mask = LVIF_TEXT; t = T(1); - P("episode_data","last_episode",1,t) return; - GI(t,&iLast) return; + P("episode_data","episode_count",1,t) return; + GI(t,&iEpisodes) return; - for (int i = 0; i < iLast; i++) { + for (int i = 0; i < iEpisodes; i++) { char *szName; int cb; TCHAR *tszEpisode, *tszName; |