Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6976) Legend in nation selection dialog is truncat
Home

[Freeciv-Dev] Re: (PR#6976) Legend in nation selection dialog is truncat

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6976) Legend in nation selection dialog is truncated
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sat, 29 Nov 2003 03:54:06 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Fri, Nov 28, 2003 at 01:17:21PM -0800, ue80@xxxxxxxxxxxxxxxxxxxxx wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6976 >
> 
> Hi,
> 
> using cvs-head.
> (compiled after ./autogen.sh) 
> ( --enable-debug=yes --enable-client=gtk didn't work)
> gtk2-client
> 
> Legend is truncated after some letters 
> For example: 
> "The Arab/Islamic civilization o"
> "Australia was founded as a Brit"

The rather easy to found fix was applied.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 A life? Cool! Where can I download one?

Index: common/packets.def
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/packets.def,v
retrieving revision 1.1
diff -u -u -r1.1 packets.def
--- common/packets.def  2003/11/28 17:37:21     1.1
+++ common/packets.def  2003/11/29 11:48:48
@@ -1064,7 +1064,7 @@
   STRING graphic_str[MAX_LEN_NAME];
   STRING graphic_alt[MAX_LEN_NAME];
   STRING class[MAX_LEN_NAME];
-  STRING legend[MAX_LEN_NAME];
+  STRING legend[MAX_LEN_MSG];
 
   UINT8 city_style;
   TECH_LIST init_techs[MAX_NUM_TECH_LIST];
Index: common/packets_gen.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/packets_gen.h,v
retrieving revision 1.1
diff -u -u -r1.1 packets_gen.h
--- common/packets_gen.h        2003/11/28 17:37:21     1.1
+++ common/packets_gen.h        2003/11/29 11:48:52
@@ -831,7 +831,7 @@
   char graphic_str[MAX_LEN_NAME];
   char graphic_alt[MAX_LEN_NAME];
   char class[MAX_LEN_NAME];
-  char legend[MAX_LEN_NAME];
+  char legend[MAX_LEN_MSG];
   int city_style;
   int init_techs[MAX_NUM_TECH_LIST];
   int leader_count;

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