aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-18 00:08:29 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-18 00:08:29 +0200
commit3bd10da4520ad24d38d4f3eb875b9d9676510bfe (patch)
tree1633eef781ea557288cb4b0bfb13d5bc7350b093
parentb3fa8086e0afca8545aa941a3ec175a0e1cb02ea (diff)
downloadEpisodeBrowser-3bd10da4520ad24d38d4f3eb875b9d9676510bfe.tar.gz
Support combined filters.
-rw-r--r--c/episodelistview.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index 21a8e3d..464313f 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -294,21 +294,21 @@ ElvUpdate()
if (!BViewWatched) {
term_t t;
t = T(1);
- PI(t,iEp) goto ep;
- P("track_episodes","watched",1,t) goto ep;
+ PI(t,iEp) goto a;
+ P("track_episodes","watched",1,t) goto a;
continue;
}
- if (!BViewTVOriginal) {
+ a: if (!BViewTVOriginal) {
term_t t;
t = T(1);
- PI(t,iEp) goto ep;
- P("episode_data","tv_original",1,t) goto ep;
+ PI(t,iEp) goto b;
+ P("episode_data","tv_original",1,t) goto b;
continue;
}
/* Format episode number string. */
- ep: _stprintf_s(tszEpisode, sizeof(tszEpisode), TEXT("%d"), iEp);
+ b: _stprintf_s(tszEpisode, sizeof(tszEpisode), TEXT("%d"), iEp);
/* Insert item. */
lviEpisode.iItem = iItem++;