]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded () from to_pdf() at lib/redmine/helpers/gantt.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 27 May 2020 01:56:27 +0000 (01:56 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 27 May 2020 01:56:27 +0000 (01:56 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19788 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/gantt.rb

index 206cdea24bdd95a9dcf3211148e3843fdf42aec9..cb3d519d44047a8413d45ed4d409e1dd2c771315 100644 (file)
@@ -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