2008-04-06 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-jobs.c: (ev_job_print_get_page_list):
Fix a crash when printing a range that doesn't specify the start or
end page. Fixes bug #524288.
svn path=/trunk/; revision=2989
+2008-04-06 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-jobs.c: (ev_job_print_get_page_list):
+
+ Fix a crash when printing a range that doesn't specify the start or
+ end page. Fixes bug #524288.
+
2008-04-02 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_cmd_continuous),
gint rsize;
gint start, end;
+ if (job->ranges[i].start == -1)
+ job->ranges[i].start = 0;
+ if (job->ranges[i].end == -1)
+ job->ranges[i].end = max_page;
+
if (job->ranges[i].start > max_page)
continue;