Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10485) Fix typo bug in effects.c
Home

[Freeciv-Dev] (PR#10485) Fix typo bug in effects.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10485) Fix typo bug in effects.c
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sun, 10 Oct 2004 14:12:45 -0700
Reply-to: rt@xxxxxxxxxxx

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

Berthe reported by evil cut&paste typo bug in effects.c. Here is a
patch, which will be applied ASAP.

PS: I tried emailing bugs@xxxxxxxxxxx, but it wouldn't show up here.

Index: common/effects.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/effects.c,v
retrieving revision 1.13
diff -u -r1.13 effects.c
--- common/effects.c    29 Sep 2004 02:24:22 -0000      1.13
+++ common/effects.c    10 Oct 2004 21:05:25 -0000
@@ -193,7 +193,7 @@
 const char *effect_type_name(enum effect_type effect_type)
 {
   assert(ARRAY_SIZE(effect_type_names) == EFT_LAST);
-  if (effect_type >= 0 && effect_type < EFR_LAST) {
+  if (effect_type >= 0 && effect_type < EFT_LAST) {
     return effect_type_names[effect_type];
   } else {
     assert(0);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10485) Fix typo bug in effects.c, Vasco Alexandre da Silva Costa <=