diff options
author | arjen@fred.bitbike.com <> | 2002-03-14 15:46:07 +1000 |
---|---|---|
committer | arjen@fred.bitbike.com <> | 2002-03-14 15:46:07 +1000 |
commit | 3dd2d1d54d752932a5ca94199b510a4c0fe48760 (patch) | |
tree | 408749965640451adc351bde7ffd2129710a5daf /Docs/Support | |
parent | a0dfa298e46d39eaddc55c08abe382fbb1801458 (diff) | |
parent | bcd8f3339b054c6e00d85bc05fc5bb216ec8c5d1 (diff) | |
download | mariadb-git-3dd2d1d54d752932a5ca94199b510a4c0fe48760.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"; |