diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-02-06 04:04:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-02-06 04:04:07 +0000 |
commit | 0f1958e355b3c9948f0f1de4487c9a4ac57bda6f (patch) | |
tree | db736975610886ff877d831ea515a74a25a95140 /gtk/gtkprintsettings.c | |
parent | 275760cd0c95e8e748f64a13240986a61728d3d7 (diff) | |
download | gtk+-0f1958e355b3c9948f0f1de4487c9a4ac57bda6f.tar.gz |
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
Diffstat (limited to 'gtk/gtkprintsettings.c')
-rw-r--r-- | gtk/gtkprintsettings.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c index c729325f16..74effed9be 100644 --- a/gtk/gtkprintsettings.c +++ b/gtk/gtkprintsettings.c @@ -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; |