aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index cadd751..a76717a 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -401,9 +401,10 @@ void EpisodeListView::Update()
if (!e.siEp[0])
continue;
- //if (g_cfg.limitScreenwriter[0] && !Pl("episode_data","episode_datum",iEp,
- // "Screenwriter",g_cfg.limitScreenwriter))
- // continue;
+ if (extern FileView<DlvDataA> g_fvDlv;
+ g_cfg.limitToScreenwriter[0]
+ && wcscmp(g_fvDlv.At(iEp-1).screenwriter, g_cfg.limitToScreenwriter) != 0)
+ continue;
if (!g_cfg.bViewWatched && e.bWatched)
continue;