diff options
author | unknown <arjen@fred.bitbike.com> | 2002-03-14 15:46:07 +1000 |
---|---|---|
committer | unknown <arjen@fred.bitbike.com> | 2002-03-14 15:46:07 +1000 |
commit | fcdf3ac0bfa94f3a569e009a2f00a53981f9c9d8 (patch) | |
tree | 408749965640451adc351bde7ffd2129710a5daf /Docs/Support | |
parent | bc49942fc52e93ef7cd3d7a9932569fb5463d096 (diff) | |
parent | 2b400a5a976ff2898e81377cf0a15c375853d78c (diff) | |
download | mariadb-git-fcdf3ac0bfa94f3a569e009a2f00a53981f9c9d8.tar.gz |
Merge work.mysql.com:/home/bk/mysql-4.0
into fred.bitbike.com:/home/arjen/mysql-4.0
Diffstat (limited to 'Docs/Support')
-rwxr-xr-x | Docs/Support/colspec-fix.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Docs/Support/colspec-fix.pl b/Docs/Support/colspec-fix.pl index 48913d6d638..21abb90fef9 100755 --- a/Docs/Support/colspec-fix.pl +++ b/Docs/Support/colspec-fix.pl @@ -4,6 +4,8 @@ # Script to rewrite colspecs from relative values to absolute values # +# arjen 2002-03-14 append "cm" specifier to colwidth field. + use strict; my $table_width = 12.75; # cm @@ -43,7 +45,7 @@ sub rel2abs { my $unit = ($table_width - ($#widths * $gutter_width)) / ($total); foreach (@widths) { - $output .= $ws . '<colspec colwidth="'. sprintf ("%0.2f", $_ * $unit) .'" />' . "\n"; + $output .= $ws . '<colspec colwidth="'. sprintf ("%0.2f", $_ * $unit) .'cm" />' . "\n"; } return $output . "\n$ws"; |