[Freeciv-Dev] (PR#8181) #7942
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#8181) #7942 |
From: |
"Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx> |
Date: |
Thu, 18 Mar 2004 09:51:25 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8181 >
Without bugs this time. :-D
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
Index: client/climisc.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/climisc.c,v
retrieving revision 1.130
diff -u -r1.130 climisc.c
--- client/climisc.c 6 Mar 2004 11:13:04 -0000 1.130
+++ client/climisc.c 18 Mar 2004 17:41:46 -0000
@@ -1140,7 +1140,7 @@
my_snprintf(buffer4, sizeof(buffer4), _("%s"), ptype->name);
- if (ptype->veteran[punit->veteran].name != "") {
+ if (ptype->veteran[punit->veteran].name != '\0') {
sz_strlcat(buffer4, " (");
sz_strlcat(buffer4, ptype->veteran[punit->veteran].name);
sz_strlcat(buffer4, ")");
Index: client/gui-gtk/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/mapview.c,v
retrieving revision 1.208
diff -u -r1.208 mapview.c
--- client/gui-gtk/mapview.c 15 Mar 2004 05:35:28 -0000 1.208
+++ client/gui-gtk/mapview.c 18 Mar 2004 17:41:21 -0000
@@ -189,7 +189,7 @@
my_snprintf(buffer, sizeof(buffer), "%s", ptype->name);
- if (ptype->veteran[punit->veteran].name != "") {
+ if (ptype->veteran[punit->veteran].name != '\0') {
sz_strlcat(buffer, " (");
sz_strlcat(buffer, ptype->veteran[punit->veteran].name);
sz_strlcat(buffer, ")");
Index: client/gui-gtk-2.0/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/mapview.c,v
retrieving revision 1.107
diff -u -r1.107 mapview.c
--- client/gui-gtk-2.0/mapview.c 15 Mar 2004 05:35:28 -0000 1.107
+++ client/gui-gtk-2.0/mapview.c 18 Mar 2004 17:41:02 -0000
@@ -229,7 +229,7 @@
my_snprintf(buffer, sizeof(buffer), "%s", ptype->name);
- if (ptype->veteran[punit->veteran].name != "") {
+ if (ptype->veteran[punit->veteran].name[0] != '\0') {
sz_strlcat(buffer, " (");
sz_strlcat(buffer, ptype->veteran[punit->veteran].name);
sz_strlcat(buffer, ")");
- [Freeciv-Dev] (PR#8181) #7942,
Vasco Alexandre da Silva Costa <=
|
|