[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]
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 <=
|
|