diff options
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r-- | src/ephy-history-window.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 18f8e6d79..2cec78d7f 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -969,11 +969,15 @@ setup_time_filters (EphyHistoryWindow *editor, cmp_time = midnight; break; case EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TWO_DAYS: - days++; + days = 1; cmp_time = midnight; break; case EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_THREE_DAYS: - days++; + days = 2; + cmp_time = midnight; + break; + case EPHY_PREFS_STATE_HISTORY_DATE_FILTER_LAST_TEN_DAYS: + days = 9; cmp_time = midnight; break; default: |