Allow to store half-open ranges.

2008-02-05  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
        Allow to store half-open ranges.



svn path=/trunk/; revision=19479
This commit is contained in:
Matthias Clasen 2008-02-06 04:04:07 +00:00 committed by Matthias Clasen
parent 275760cd0c
commit 0f1958e355
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-02-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
Allow to store half-open ranges.
2008-02-05 Cody Russell <bratsche@gnome.org>
* gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk

View File

@ -1283,8 +1283,6 @@ gtk_print_settings_get_page_ranges (GtkPrintSettings *settings,
{
str++;
end = (gint)strtol (str, NULL, 10);
if (end < start)
end = start;
}
ranges[i].start = start;