summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-05-27 01:56:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-05-27 01:56:27 +0000
commitf0fdf13d1bbf6bedfb3d5828a1f13ed2144006da (patch)
tree39929b4bc2a7d3bdcf58ef257e109a9644e3e4f0 /lib/redmine/helpers
parentf65123df73dfd3bf0780f52c380631dcf671493b (diff)
downloadredmine-f0fdf13d1bbf6bedfb3d5828a1f13ed2144006da.tar.gz
redmine-f0fdf13d1bbf6bedfb3d5828a1f13ed2144006da.zip
remove unneeded () from to_pdf() at lib/redmine/helpers/gantt.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19788 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers')
-rw-r--r--lib/redmine/helpers/gantt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 206cdea24..cb3d519d4 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -520,7 +520,7 @@ module Redmine
end
end
g_width = PDF.right_pane_width
- zoom = (g_width) / (self.date_to - self.date_from + 1)
+ zoom = g_width / (self.date_to - self.date_from + 1)
g_height = 120
t_height = g_height + headers_height
y_start = pdf.GetY