Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
[Freeciv-Dev] GTK+ client bad icon for eng transform (PR#55)
Home

[Freeciv-Dev] GTK+ client bad icon for eng transform (PR#55)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] GTK+ client bad icon for eng transform (PR#55)
From: jjm@xxxxxxxxxxxx
Date: Wed, 14 Jul 1999 08:10:07 -0700 (PDT)

Full_Name: Jeff Mallatt
Version: 1.8.1
OS: Linux
Submission from: (NULL) (199.103.194.36)


In the GTK+ client, in both the unit info panel and the city dialog (supported
and present units) the display of an Engineer that is transforming terrain is
incorrect -- the small "O" in the upper right hand corner is replaced by tile
number zero.

It's simply a missing case in put_unit_gpixmap() in mapview.c:

Index: client/gui-gtk/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/mapview.c,v
retrieving revision 1.10
diff -u -r1.10 mapview.c
--- mapview.c   1999/06/15 10:04:57     1.10
+++ mapview.c   1999/07/14 15:07:31
@@ -1088,6 +1088,9 @@
      case ACTIVITY_GOTO:
       tileno=G_TILE;
       break;
+     case ACTIVITY_TRANSFORM:
+      tileno=O_TILE;
+      break;
      default:
       break;
     }



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] GTK+ client bad icon for eng transform (PR#55), jjm <=