mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
23 lines
700 B
Text
23 lines
700 B
Text
--- doc/texi2html.in.orig 2000-04-08 12:20:05 UTC
|
|
+++ doc/texi2html.in
|
|
@@ -3790,9 +3790,9 @@ sub update_sec_num {
|
|
my $ret;
|
|
|
|
$level--; # here we start at 0
|
|
- if ($name =~ /^appendix/ || defined(@appendix_sec_num)) {
|
|
+ if ($name =~ /^appendix/ || @appendix_sec_num) {
|
|
# appendix style
|
|
- if (defined(@appendix_sec_num)) {
|
|
+ if (@appendix_sec_num) {
|
|
&incr_sec_num($level, @appendix_sec_num);
|
|
} else {
|
|
@appendix_sec_num = ('A', 0, 0, 0);
|
|
@@ -3800,7 +3800,7 @@ sub update_sec_num {
|
|
$ret = join('.', @appendix_sec_num[0..$level]);
|
|
} else {
|
|
# normal style
|
|
- if (defined(@normal_sec_num))
|
|
+ if (@normal_sec_num)
|
|
{
|
|
&incr_sec_num($level, @normal_sec_num);
|
|
}
|