Commit 0f1958e3 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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
parent 275760cd
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
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment