[Freeciv-Dev] Re: (PR#10193) unit images in production tab are very off-
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10193 >
This should fix it.
jason
Index: client/gui-gtk-2.0/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/mapview.c,v
retrieving revision 1.139
diff -u -r1.139 mapview.c
--- client/gui-gtk-2.0/mapview.c 18 Sep 2004 23:19:09 -0000 1.139
+++ client/gui-gtk-2.0/mapview.c 20 Sep 2004 23:05:41 -0000
@@ -686,7 +686,8 @@
MIN(gdk_pixbuf_get_width(dst), gdk_pixbuf_get_width(src))),
MIN(height,
MIN(gdk_pixbuf_get_height(dst), gdk_pixbuf_get_height(src))),
- canvas_x, canvas_y, 1.0, 1.0, GDK_INTERP_NEAREST, 255);
+ canvas_x - offset_x, canvas_y - offset_y,
+ 1.0, 1.0, GDK_INTERP_NEAREST, 255);
}
break;
default:
|
|