summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-04-27 22:44:23 +0200
committergerv%gerv.net <>2003-04-27 22:44:23 +0200
commite5086e905c8248309f4918e2d32cfa160f7e7156 (patch)
tree7a18fea04f3d086e19a4e59772d00e276f8702a0 /report.cgi
parent61fa0b00b8e31c0e652320e84421569554828949 (diff)
downloadbugzilla-e5086e905c8248309f4918e2d32cfa160f7e7156.tar.gz
bugzilla-e5086e905c8248309f4918e2d32cfa160f7e7156.tar.xz
Bug 195607 - Minimum width code gets it wrong. Patch by gerv; r,a=justdave.
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi
index c311cc797..d3cde688d 100755
--- a/report.cgi
+++ b/report.cgi
@@ -207,8 +207,8 @@ $vars->{'row_names'} = \@row_names;
$vars->{'tbl_names'} = \@tbl_names;
# Below a certain width, we don't see any bars, so there needs to be a minimum.
-if ($cgi->param('format') eq "bar") {
- my $min_width = (scalar(@col_names) || 1) * 10;
+if ($width && $cgi->param('format') eq "bar") {
+ my $min_width = (scalar(@col_names) || 1) * 20;
if (!$cgi->param('cumulate')) {
$min_width *= (scalar(@row_names) || 1);