Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] (PR#13530) Errors in the help in CVS
Home

[Freeciv-Dev] (PR#13530) Errors in the help in CVS

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: matzjosh-freeciv2@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13530) Errors in the help in CVS
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Jul 2005 20:01:17 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13530 >

> [matzjosh-freeciv2@xxxxxxxxxxxxxx - Sun Jul 24 22:43:48 2005]:
> 
> CVS 2005-07-24 gtk2
> 
> The help for wonders doesn't show the required tech. The button is
> empty. Clicking on the button opens the help for space race.
> The help for the technologies doesn't show allowed the allowed wonders
> either.

This patch fixes part of it.  But this code will have to be reworked
before the next version.

-jason

Index: client/gui-gtk-2.0/helpdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/helpdlg.c,v
retrieving revision 1.58
diff -p -u -r1.58 helpdlg.c
--- client/gui-gtk-2.0/helpdlg.c        26 Jul 2005 02:48:38 -0000      1.58
+++ client/gui-gtk-2.0/helpdlg.c        26 Jul 2005 02:59:28 -0000
@@ -750,7 +750,7 @@ static void help_update_wonder(const str
      * definition. */
     i = 0;
     requirement_vector_iterate(&imp->reqs, preq) {
-      gtk_label_set_text(GTK_LABEL(help_ilabel[3 + i]),
+      gtk_label_set_text(GTK_LABEL(help_wlabel[3 + i]),
                         get_req_source_text(&preq->source,
                                             req_buf, sizeof(req_buf)));
       i++;

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