URL:
  <http://gna.org/patch/?827>

                 Summary: Possible fix for textdraw.c
                 Project: Warzone Resurrection Project
            Submitted by: buginator
            Submitted on: Sunday 11/04/2007 at 04:30
                Category: Fix
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Giel, I think the change should be made as outlined below.
I was getting negative #'s for height?  So this fixes it.



Index: textdraw.c
===================================================================
--- textdraw.c  (revision 2703)
+++ textdraw.c  (working copy)
@@ -373,7 +373,7 @@
        }
 
        point_bottom_y = boundingbox[1];
-       point_height = point_bottom_y - point_base_y;
+       point_height = point_base_y - point_bottom_y;
        pixel_height = getGLCPointToPixel(point_height);
        return (int)pixel_height;
 }





    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?827>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to