diff options
author | Roger Leigh <rleigh@debian.org> | 2008-10-22 13:58:49 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2008-10-26 17:29:17 +0000 |
commit | fdaec3d7655dfc557045e6cf9658808540e9f215 (patch) | |
tree | 79ec1d0fb751d3b6929dfa57d9a78319b3eca4e9 /src/ghost/ijsgutenprint.c | |
parent | da96e492f10c14d264544702e8be26bc428c6916 (diff) |
Imported Debian patch 5.2.1-1
Diffstat (limited to 'src/ghost/ijsgutenprint.c')
-rw-r--r-- | src/ghost/ijsgutenprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ghost/ijsgutenprint.c b/src/ghost/ijsgutenprint.c index bdd8fed..9a75815 100644 --- a/src/ghost/ijsgutenprint.c +++ b/src/ghost/ijsgutenprint.c @@ -1,5 +1,5 @@ /* - * $Id: ijsgutenprint.c,v 1.20 2008/04/22 23:59:50 rlk Exp $ + * $Id: ijsgutenprint.c,v 1.21 2008/07/05 03:43:26 rlk Exp $ * * IJS server for Gutenprint. * @@ -711,7 +711,7 @@ gutenprint_set_cb (void *set_cb_data, IjsServerCtx *ctx, IjsJobId jobid, STP_DEBUG(fprintf(stderr, "ijsgutenprint: paper size %f %f %s\n", w, h, vbuf)); stp_set_page_width(img->v, w); stp_set_page_height(img->v, h); - if ((p = stp_get_papersize_by_size(h, w)) != NULL) + if ((p = stp_get_papersize_by_size_exact(h, w)) != NULL) { STP_DEBUG(fprintf(stderr, "ijsgutenprint: Found page size %s\n", p->name)); stp_set_string_parameter(img->v, "PageSize", p->name); |