From: msweet Date: Fri, 16 May 2014 20:59:22 +0000 (+0000) Subject: Fix formatting. X-Git-Tag: v2.2b1~633 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003390944879c2cd552a93eaeeec82c27d0b0039;p=thirdparty%2Fcups.git Fix formatting. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11881 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/pwg-media.c b/cups/pwg-media.c index 7361f2bd0e..0c5396b085 100644 --- a/cups/pwg-media.c +++ b/cups/pwg-media.c @@ -912,17 +912,23 @@ pwg_media_t * /* O - PWG media name */ pwgMediaForSize(int width, /* I - Width in hundredths of millimeters */ int length) /* I - Length in hundredths of millimeters */ { - /* - * Adobe uses a size matching algorithm with an epsilon of 5 points, which - * is just about 176/2540ths... - */ - return _pwgMediaNearSize(width, length, 176); + /* + * Adobe uses a size matching algorithm with an epsilon of 5 points, which + * is just about 176/2540ths... + */ + + return (_pwgMediaNearSize(width, length, 176)); } + +/* + * '_pwgMediaNearSize()' - Get the PWG media size within the given tolerance. + */ + pwg_media_t * /* O - PWG media name */ _pwgMediaNearSize(int width, /* I - Width in hundredths of millimeters */ - int length, /* I - Length in hundredths of millimeters */ - int epsilon) /* I - Match within this tolernace. PWG units */ + int length, /* I - Length in hundredths of millimeters */ + int epsilon) /* I - Match within this tolernace. PWG units */ { int i; /* Looping var */ pwg_media_t *media, /* Current media */