[Freeciv-Dev] (PR#10412) Xaw: mapctrl_btn_mapcanvas() has call of no-dec
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=10412 >
CVS 2004-10-02 20:13 +0400, Xaw client.
Xaw client does not compiled now, due to misorder in
declaration of variables in mapctrl_btn_mapcanvas.
Patch attached.
Thanks, evyscr.
diff -urN freeciv-orig/client/gui-xaw/mapctrl.c freeciv/client/gui-xaw/mapctrl.c
--- freeciv-orig/client/gui-xaw/mapctrl.c 2004-10-02 20:13:58 +0400
+++ freeciv/client/gui-xaw/mapctrl.c 2004-10-02 21:46:03 +0400
@@ -200,8 +200,8 @@
**************************************************************************/
void mapctrl_btn_mapcanvas(XEvent *event)
{
- struct tile *ptile = canvas_pos_to_tile(ev->x, ev->y);
XButtonEvent *ev=&event->xbutton;
+ struct tile *ptile = canvas_pos_to_tile(ev->x, ev->y);
if (!can_client_change_view()) {
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10412) Xaw: mapctrl_btn_mapcanvas() has call of no-declared-yet variable,
Egor Vyscrebentsov via RT <=
|
|