]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix formatting.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 16 May 2014 20:59:22 +0000 (20:59 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Fri, 16 May 2014 20:59:22 +0000 (20:59 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@11881 a1ca3aef-8c08-0410-bb20-df032aa958be

cups/pwg-media.c

index 7361f2bd0eeb87a3c793dc5ed28806c7a939460f..0c5396b08509cdc4f0b8216302b4eb948897ff38 100644 (file)
@@ -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 */