<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -123,14 +123,15 @@ module Prawn
       def draw
         case(@position) 
         when :center
-          x = ((@document.bounds.width) / 2.0 ) - (width / 2.0)
-
-          @document.bounding_box [x,@document.y - @document.bounds.absolute_bottom], :width =&gt; width do
+          x = (@document.bounds.width - width) / 2.0
+          y = @document.y - @document.bounds.absolute_bottom
+          @document.bounding_box [x, y], :width =&gt; width do
             generate_table
           end
-        when Numeric
+        when Numeric     
           x = @position
-          @document.bounding_box [x,@document.y - @document.bounds.absolute_bottom], :width =&gt; width do
+          y = @document.y - @document.bounds.absolute_bottom
+          @document.bounding_box [x,y], :width =&gt; width do
             generate_table
           end
         else</diff>
      <filename>lib/prawn/document/table.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>45c73d64b62039ebc6ee60779c9410dc8aeaf7b0</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </author>
  <url>http://github.com/sandal/prawn/commit/fbf50793597f1ebaed9b77395e9cacfc86b78bed</url>
  <id>fbf50793597f1ebaed9b77395e9cacfc86b78bed</id>
  <committed-date>2008-07-21T12:39:08-07:00</committed-date>
  <authored-date>2008-07-21T12:39:08-07:00</authored-date>
  <message>minor cleanup</message>
  <tree>ffb96e57bd7caf55d76d50c9a776ce108f9ad141</tree>
  <committer>
    <name>Gregory Brown</name>
    <email>gregory.t.brown@gmail.com</email>
  </committer>
</commit>
