]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 6 Jan 2013 14:30:18 +0000 (14:30 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 6 Jan 2013 14:30:18 +0000 (14:30 +0000)
coders/pango.c

index 4a6f80472cbd91406bc6381f2aa6134c09aab4ec..1018e9cf241bf273fdae706d44a29be0451028aa 100644 (file)
@@ -357,7 +357,7 @@ static Image *ReadPANGOImage(const ImageInfo *image_info,
     {
       image->columns-=2*page.x;
       pango_layout_set_width(layout,(int) ((PANGO_SCALE*image->columns*
-        (image->resolution.x == 0.0 : 90.0 : image->resolution.x)+45.0)/90.0+
+        (image->resolution.x == 0.0 ? 90.0 : image->resolution.x)+45.0)/90.0+
         0.5));
     }
   if (image->rows == 0)
@@ -369,7 +369,7 @@ static Image *ReadPANGOImage(const ImageInfo *image_info,
     {
       image->rows-=2*page.y;
       pango_layout_set_height(layout,(int) ((PANGO_SCALE*image->rows*
-        (image->resolution.y == 0.0 : 90.0 : image->resolution.y)+45.0)/90.0+
+        (image->resolution.y == 0.0 ? 90.0 : image->resolution.y)+45.0)/90.0+
         0.5));
     }
   /*