summaryrefslogtreecommitdiff
path: root/epgsearchcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchcfg.c')
-rw-r--r--epgsearchcfg.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/epgsearchcfg.c b/epgsearchcfg.c
index 8ed31e2..a3c8653 100644
--- a/epgsearchcfg.c
+++ b/epgsearchcfg.c
@@ -105,6 +105,19 @@ int cShowMode::Compare(const cListObject &ListObject) const
if (mode == showFavorites && p->mode != showFavorites) return 1;
if (p->mode == showFavorites && mode != showFavorites) return -1;
}
+ if (EPGSearchConfig.showFavoritesMenu == 3)
+ {
+ if (mode == showFavorites)
+ {
+ if (p->mode < showNext) return 1;
+ else return -1;
+ }
+ if (p->mode == showFavorites)
+ {
+ if (mode < showNext) return -1;
+ else return 1;
+ }
+ }
if (mode > showNext && p->mode > showNext)
return seekTime - p->seekTime;
else