diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-03-11 13:57:36 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2013-03-11 13:57:36 +0000 |
commit | cb7f98ee7f57af247aacb94977c8f744a1d02eca (patch) | |
tree | 9a777871fa4e4f9928ff960d52ffce2343df29d8 /cups/pwg-media.c | |
parent | c5b24bfa983a8b50262d8c3dd037e0181cfaae61 (diff) | |
download | cups-cb7f98ee7f57af247aacb94977c8f744a1d02eca.tar.gz |
Sync up with CUPS 1.7svn-r10893
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@4216 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/pwg-media.c')
-rw-r--r-- | cups/pwg-media.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cups/pwg-media.c b/cups/pwg-media.c index 5802b84a1..1c2940bf8 100644 --- a/cups/pwg-media.c +++ b/cups/pwg-media.c @@ -462,20 +462,20 @@ _pwgInitSize(_pwg_size_t *size, /* I - Size to initialize */ } else if (!x_dimension) { - _cupsSetError(IPP_INTERNAL_ERROR, + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing x-dimension in media-size."), 1); return (0); } else if (!y_dimension) { - _cupsSetError(IPP_INTERNAL_ERROR, + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing y-dimension in media-size."), 1); return (0); } } else { - _cupsSetError(IPP_INTERNAL_ERROR, _("Missing media-size in media-col."), + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media-size in media-col."), 1); return (0); } @@ -550,13 +550,13 @@ _pwgInitSize(_pwg_size_t *size, /* I - Size to initialize */ } else { - _cupsSetError(IPP_INTERNAL_ERROR, _("Unsupported media value."), 1); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Unsupported media value."), 1); return (0); } } else { - _cupsSetError(IPP_INTERNAL_ERROR, _("Missing media or media-col."), 1); + _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Missing media or media-col."), 1); return (0); } } |