From f0fdf13d1bbf6bedfb3d5828a1f13ed2144006da Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 27 May 2020 01:56:27 +0000 Subject: [PATCH] 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 --- lib/redmine/helpers/gantt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5