Blob Blame History Raw
diff -up python-xlib-0.15rc1/doc/html/texi2html.perl python-xlib-0.15rc1/doc/html/texi2html
--- python-xlib-0.15rc1/doc/html/texi2html.perl	2009-05-28 08:39:08.000000000 -0600
+++ python-xlib-0.15rc1/doc/html/texi2html	2015-06-19 16:10:01.334379104 -0600
@@ -1557,7 +1557,7 @@ sub update_sec_num {
     $level--; # here we start at 0
     if ($name =~ /^appendix/) {
 	# 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);
@@ -1565,7 +1565,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);
 	} else {
 	    @normal_sec_num = (1, 0, 0, 0);