diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-18 00:08:29 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-18 00:08:29 +0200 |
commit | 3bd10da4520ad24d38d4f3eb875b9d9676510bfe (patch) | |
tree | 1633eef781ea557288cb4b0bfb13d5bc7350b093 | |
parent | b3fa8086e0afca8545aa941a3ec175a0e1cb02ea (diff) | |
download | EpisodeBrowser-3bd10da4520ad24d38d4f3eb875b9d9676510bfe.tar.gz |
Support combined filters.
-rw-r--r-- | c/episodelistview.c | 12 |
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++; |