* src/tables.c (table_ninf_remap): base -> tab.

Reported by Matt Rosing.
This commit is contained in:
Akim Demaille
2002-10-14 11:38:21 +00:00
parent 447fbb178d
commit 05846dae07
3 changed files with 11 additions and 5 deletions
+5
View File
@@ -1,3 +1,8 @@
2002-10-14 Akim Demaille <[email protected]>
* src/tables.c (table_ninf_remap): base -> tab.
Reported by Matt Rosing.
2002-10-14 Paul Eggert <[email protected]> 2002-10-14 Paul Eggert <[email protected]>
* tests/action.at, tests/calc.at, tests/conflicts.at, * tests/action.at, tests/calc.at, tests/conflicts.at,
+1
View File
@@ -33,6 +33,7 @@ Magnus Fromreide [email protected]
Marc Autret [email protected] Marc Autret [email protected]
Martin Mokrejs [email protected] Martin Mokrejs [email protected]
Matt Kraai [email protected] Matt Kraai [email protected]
Matt Rosing [email protected]
Michael Hayes [email protected] Michael Hayes [email protected]
Mike Castle [email protected] Mike Castle [email protected]
Neil Booth [email protected] Neil Booth [email protected]
+1 -1
View File
@@ -774,7 +774,7 @@ table_ninf_remap (base_t tab[], size_t size, base_t ninf)
for (i = 0; i < size; i++) for (i = 0; i < size; i++)
if (tab[i] < res && tab[i] != ninf) if (tab[i] < res && tab[i] != ninf)
res = base[i]; res = tab[i];
--res; --res;