From: Toshi MARUYAMA Date: Wed, 27 May 2020 01:56:27 +0000 (+0000) Subject: remove unneeded () from to_pdf() at lib/redmine/helpers/gantt.rb X-Git-Tag: 4.2.0~1001 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0fdf13d1bbf6bedfb3d5828a1f13ed2144006da;p=redmine.git 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 --- 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