]> err.no Git - mapper/commitdiff
Formating only
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 2 Jul 2007 12:14:18 +0000 (15:14 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 2 Jul 2007 12:14:18 +0000 (15:14 +0300)
src/map.c

index 02e59c4c547b31dbec3935f5e1989034eca4d3d9..0f96c5343d7b6a0221e11289acbc692e114cc8f7 100644 (file)
--- a/src/map.c
+++ b/src/map.c
@@ -354,15 +354,13 @@ map_pixbuf_scale_inplace(GdkPixbuf * pixbuf, guint ratio_p2,
 GdkPixbuf *pixbuf_trim(GdkPixbuf * pixbuf)
 {
        vprintf("%s()\n", __PRETTY_FUNCTION__);
-       GdkPixbuf *mpixbuf =
-           gdk_pixbuf_new(GDK_COLORSPACE_RGB, gdk_pixbuf_get_has_alpha(pixbuf),
+       GdkPixbuf *mpixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, gdk_pixbuf_get_has_alpha(pixbuf),
                           8, TILE_SIZE_PIXELS, TILE_SIZE_PIXELS);
 
        gdk_pixbuf_copy_area(pixbuf,
-                            (gdk_pixbuf_get_width(pixbuf) -
-                             TILE_SIZE_PIXELS) / 2,
-                            (gdk_pixbuf_get_height(pixbuf) -
-                             TILE_SIZE_PIXELS) / 2, TILE_SIZE_PIXELS,
+                            (gdk_pixbuf_get_width(pixbuf) - TILE_SIZE_PIXELS) / 2,
+                            (gdk_pixbuf_get_height(pixbuf) - TILE_SIZE_PIXELS) / 2, 
+                            TILE_SIZE_PIXELS,
                             TILE_SIZE_PIXELS, mpixbuf, 0, 0);
 
        g_object_unref(pixbuf);