]> git.pld-linux.org Git - packages/aspell.git/blob - aspell-mk-static-filter.pl.patch
- fix generation of filter configuration keys
[packages/aspell.git] / aspell-mk-static-filter.pl.patch
1 --- gen/mk-static-filter.pl.orig        2007-12-03 07:43:09.000000000 +0100
2 +++ gen/mk-static-filter.pl     2008-04-18 22:34:26.000000000 +0200
3 @@ -159,7 +159,7 @@
4    printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_begin = ".
5                                                ${$filter}{"NAME"}."_options;\n";
6    # If structure is empty, set options_end to same as options_begin.
7 -  if (%{$filter}) {
8 +  if ($firstopt) {
9      printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_end = ".
10                                                  ${$filter}{"NAME"}."_options;\n";
11    } else {
This page took 0.041797 seconds and 3 git commands to generate.