Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9402) fix gui-xaw compilation
Home

[Freeciv-Dev] (PR#9402) fix gui-xaw compilation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9402) fix gui-xaw compilation
From: "Jason Dorje Short" <jdorje@xxxxxxxxxxx>
Date: Fri, 16 Jul 2004 07:27:11 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9402 >

gui-xaw won't compile.  This patch fixes it.

jason

Index: client/gui-xaw/mapctrl.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-xaw/mapctrl.c,v
retrieving revision 1.86
diff -u -r1.86 mapctrl.c
--- client/gui-xaw/mapctrl.c    13 Jul 2004 18:22:33 -0000      1.86
+++ client/gui-xaw/mapctrl.c    16 Jul 2004 14:26:20 -0000
@@ -259,7 +259,7 @@
 **************************************************************************/
 void mapctrl_key_city_workers(XEvent *event)
 {
-  key_city_overlay(event->xbutton->x, event->xbutton->y);
+  key_city_overlay(event->xbutton.x, event->xbutton.y);
 }
 
 /**************************************************************************

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9402) fix gui-xaw compilation, Jason Dorje Short <=