summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0f11354)
Previously the county map code was using an uninitialized variable and
hence was totally failing to populate same-lang-different-territory map.
for (d = c + 1; d < ncountry; d++)
{
int j = country[d];
for (d = c + 1; d < ncountry; d++)
{
int j = country[d];
- if (j >= 0 && !strncmp (langs[j], langs[i], l))
+ if (j >= 0 && !strncmp (langs[j], langs[i], lang + 1))
{
BitSet(map, j);
country[d] = -1;
{
BitSet(map, j);
country[d] = -1;