From fc5bf5b78b3ce0397805a14b41ff4a4a36f4d714 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 2 Jul 2007 15:14:18 +0300 Subject: [PATCH] Formating only --- src/map.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/map.c b/src/map.c index 02e59c4..0f96c53 100644 --- 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); -- 2.39.5