Skip to content

Commit

Permalink
improved documentation of fix for issue #710
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrandl committed Apr 21, 2014
1 parent bb296b5 commit f10762a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/prawn/table/column_width_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ def fill_values_if_needed(values, cell, index, meth)
return values if number_of_nil_values == 0
#b) no values are filled
return values if number_of_nil_values == cell.colspan
#c) I am not sure why this line is needed FIXXME
#some test cases manage to this line even though there is no dummy cell in the row
#I'm not sure if this is a sign for a further underlying bug.
return values unless has_a_span_dummy?(cell.row)
#fill up the values array

Expand Down

0 comments on commit f10762a

Please sign in to comment.