diff --git a/fc-lang/fc-lang.c b/fc-lang/fc-lang.c index 22afe90..b0f1690 100644 --- a/fc-lang/fc-lang.c +++ b/fc-lang/fc-lang.c @@ -488,7 +488,7 @@ main (int argc, char **argv) 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;