aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r--c/episodelistview.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index f1cc819..73a97ff 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -202,7 +202,7 @@ ElvUpdate()
for (iItem = 0, iEpisode = 1; iEpisode <= iEpisodes; iEpisode++) {
int cb;
TCHAR *tszEpisode;
- extern int BViewWatched;
+ extern int BViewTVOriginal, BViewWatched;
if (!BViewWatched) {
term_t t;
@@ -212,6 +212,14 @@ ElvUpdate()
continue;
}
+ if (!BViewTVOriginal) {
+ term_t t;
+ t = T(1);
+ PI(t,iEpisode) goto ep;
+ P("episode_data","tv_original",1,t) goto ep;
+ continue;
+ }
+
/* Format episode number string. */
ep: cb = 100;
tszEpisode = malloc(cb*sizeof(TCHAR));