summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 19:59:39 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-25 19:59:39 +0000
commit11edb88f70222390fba3a88692c7fc8908eba8b7 (patch)
treed1c2807898a072ec32b9744b68adcab1f2fb4a6e
parent3e16f5a3f053645e2e640ff5068fd97cdaffb7de (diff)
Fix problem with rule calculation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--lib/rdoc/markup/simple_markup/to_flow.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rdoc/markup/simple_markup/to_flow.rb b/lib/rdoc/markup/simple_markup/to_flow.rb
index b91bb12e1f..5d78849b91 100644
--- a/lib/rdoc/markup/simple_markup/to_flow.rb
+++ b/lib/rdoc/markup/simple_markup/to_flow.rb
@@ -89,6 +89,8 @@ module SM
end
def accept_rule(am, fragment)
+ size = fragment.param
+ size = 10 if size > 10
@res << Rule.new(size)
end