Skip to content

Commit

Permalink
* Corrected typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
donv committed Oct 22, 2013
1 parent 0bbf4a3 commit cc17af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gruff/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def calculate_spread # :nodoc:
def setup_graph_measurements
@marker_caps_height = @hide_line_markers ? 0 :
calculate_caps_height(@marker_font_size)
@title_caps_height = (@hide_title || @title.nil? ? 0 :
@title_caps_height = (@hide_title || @title.nil?) ? 0 :
calculate_caps_height(@title_font_size) * @title.lines.to_a.size
@legend_caps_height = @hide_legend ? 0 :
calculate_caps_height(@legend_font_size)
Expand Down

0 comments on commit cc17af1

Please sign in to comment.