Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#9923) Messages from server are displayed in a reversed
Home

[Freeciv-Dev] (PR#9923) Messages from server are displayed in a reversed

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9923) Messages from server are displayed in a reversed order
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 3 Sep 2004 09:22:31 -0700
Reply-to: rt@xxxxxxxxxxx

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

The messages which appears in client window in the begining of each turn
are displayed in a reversed order.
This patch fixes it.
--
mateusz
? civgame-2400.sav.gz
? civgame-2500.sav.gz
? civgame-3000.sav.gz
? civgame-3500.sav.gz
Index: chatline_common.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/chatline_common.c,v
retrieving revision 1.6
diff -u -r1.6 chatline_common.c
--- chatline_common.c   29 Jul 2004 00:09:26 -0000      1.6
+++ chatline_common.c   3 Sep 2004 16:21:24 -0000
@@ -121,7 +121,7 @@
   } else {
     struct remaining *premain = fc_malloc(sizeof(*premain));
 
-    remaining_list_insert(&remains, premain);
+    remaining_list_insert_back(&remains, premain);
     premain->text = mystrdup(astring);
     premain->conn_id = conn_id;
   }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9923) Messages from server are displayed in a reversed order, Mateusz Stefek <=