Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-print-job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-print-job.c b/shell/ev-print-job.c
index ba283ff..ccc07e3 100644
--- a/shell/ev-print-job.c
+++ b/shell/ev-print-job.c
@@ -238,13 +238,13 @@ idle_print_handler (EvPrintJob *job)
ev_ps_exporter_begin (EV_PS_EXPORTER (job->document),
job->temp_file);
g_mutex_unlock (EV_DOC_MUTEX);
- job->next_page = 1; /* FIXME use 0-based page numbering? */
+ job->next_page = 0;
job->printing = TRUE;
return TRUE;
}
page_cache = ev_document_get_page_cache (job->document);
- if (job->next_page <= ev_page_cache_get_n_pages (page_cache)) {
+ if (job->next_page < ev_page_cache_get_n_pages (page_cache)) {
#if 0
g_printerr ("Printing page %d\n", job->next_page);
#endif