Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2001:
[Freeciv-Dev] bug in /freeciv-1.11.5/common/registry.c
Home

[Freeciv-Dev] bug in /freeciv-1.11.5/common/registry.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Freeciv Developers" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] bug in /freeciv-1.11.5/common/registry.c
From: "STyx" <styx@xxxxxxxxx>
Date: Sat, 26 May 2001 22:08:20 +0200
Reply-to: "STyx" <styx@xxxxxxxxxxxx>

bug in /freeciv-1.11.5/common/registry.c line 439

 if (i<columns_tab.n) {
   astr_minsize(&entry_name, base_name.n + 10 + columns[i].n);
   my_snprintf(entry_name.str, entry_name.n_alloc, "%s%d.%s",
        base_name.str, table_lineno, columns[i].str);
 } else {
439:   astr_minsize(&entry_name, base_name.n + 20 + columns[i].n);
   my_snprintf(entry_name.str, entry_name.n_alloc, "%s%d.%s,%d",
        base_name.str, table_lineno,
        columns[columns_tab.n-1].str, i-columns_tab.n+1);
 }

correction:
439:   astr_minsize(&entry_name, base_name.n + 20 +
                                          columns[columns_tab.n-1].n);






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] bug in /freeciv-1.11.5/common/registry.c, STyx <=