summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoe Mistachkin <joe@mistachkin.com>2016-11-02 01:42:49 (GMT)
committerJoe Mistachkin <joe@mistachkin.com>2016-11-02 01:42:49 (GMT)
commitea11870f5b0a48b6791dcbba99d52c3c02c5fccc (patch)
treee054d21214ae1efa2c36af718349cefd297b45af /tools
parent27696b490b9b339a869a8f6fe3113d05ebcbf565 (diff)
downloadtcl-ea11870f5b0a48b6791dcbba99d52c3c02c5fccc.zip
tcl-ea11870f5b0a48b6791dcbba99d52c3c02c5fccc.tar.gz
tcl-ea11870f5b0a48b6791dcbba99d52c3c02c5fccc.tar.bz2
Fix the generated copyright sections in the HTML help file.
Diffstat (limited to 'tools')
-rw-r--r--tools/tcltk-man2html-utils.tcl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/tcltk-man2html-utils.tcl b/tools/tcltk-man2html-utils.tcl
index 8fd1245..9052049 100644
--- a/tools/tcltk-man2html-utils.tcl
+++ b/tools/tcltk-man2html-utils.tcl
@@ -57,9 +57,14 @@ proc copyright {copyright {level {}}} {
}
proc copyout {copyrights {level {}}} {
+ set count 0
set out "<div class=\"copy\">"
foreach c $copyrights {
+ if {$count > 0} {
+ append out <BR>
+ }
append out "[copyright $c $level]\n"
+ incr count
}
append out "</div>"
return $out