Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-04-12 06:51:05 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-04-12 06:51:05 (GMT)
commit8b317416d7d84725db8f634cf4e9e7c18f1f6691 (patch)
tree0e9131b1bc36b246715beeff1310e4ee301f3f9d /backend
parent24e535514cf7bf527ecc0abf6d4b3e7e4c2b6664 (diff)
Fix for bugs 300233,173184,300094. Problems with page index started at 0
and scrolling up with Shift + Space
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-page-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ev-page-cache.c b/backend/ev-page-cache.c
index 7f6622a..4d64ee2 100644
--- a/backend/ev-page-cache.c
+++ b/backend/ev-page-cache.c
@@ -290,7 +290,7 @@ ev_page_cache_next_page (EvPageCache *page_cache)
{
g_return_val_if_fail (EV_IS_PAGE_CACHE (page_cache), FALSE);
- if (page_cache->current_page >= page_cache->n_pages)
+ if (page_cache->current_page >= page_cache->n_pages - 1)
return FALSE;
ev_page_cache_set_current_page (page_cache, page_cache->current_page + 1);