Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Typo fix.
Home

[Freeciv-Dev] Typo fix.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Typo fix.
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Sun, 21 Jul 2002 01:27:02 +0200

I just committed the following:

Index: client/gui-gtk-2.0/messagewin.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/messagewin.c,v
retrieving revision 1.12
diff -u -r1.12 messagewin.c
--- client/gui-gtk-2.0/messagewin.c     2002/07/18 09:42:28     1.12
+++ client/gui-gtk-2.0/messagewin.c     2002/07/20 23:12:45
@@ -246,7 +246,7 @@
   gint row = gtk_tree_selection_get_row(selection);
 
   if (row != -1) {
-    struct message *message = get_message(i);
+    struct message *message = get_message(row);
 
     gtk_widget_set_sensitive(meswin_goto_command, message->location_ok);
     gtk_widget_set_sensitive(meswin_popcity_command, message->city_ok);
@@ -262,7 +262,7 @@
                                          gpointer data)
 {
   gint row = gtk_tree_path_get_indices(path)[0];
-  struct message *message = get_message(i);
+  struct message *message = get_message(row);
 
   meswin_double_click(row);
 
Whoever made this change never tested (or even _compiled_) the
changes.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
The fact that 47 PEOPLE are yelling and sweat is cascading
 down my SPINAL COLUMN is fairly enjoyable!!


[Prev in Thread] Current Thread [Next in Thread]