Skip to content

Commit

Permalink
Remove superfluous parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
bradediger committed Apr 18, 2011
1 parent c2fa606 commit 8be3e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prawn/document.rb
Expand Up @@ -646,7 +646,7 @@ def generate_margin_box
)

# This check maintains indentation settings across page breaks
if (old_margin_box)
if old_margin_box
@margin_box.add_left_padding(old_margin_box.total_left_padding)
@margin_box.add_right_padding(old_margin_box.total_right_padding)
end
Expand Down

0 comments on commit 8be3e09

Please sign in to comment.