]>
Commit | Line | Data |
---|---|---|
7b06c313 JR |
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 { |