ecere/gfx/GDI: (#537) Fixed trailing issue (e.g. on DataRows text) caused by bug...
authorJerome St-Louis <jerome@ecere.com>
Mon, 10 Feb 2014 23:20:52 +0000 (06:20 +0700)
committerJerome St-Louis <jerome@ecere.com>
Mon, 10 Feb 2014 23:20:52 +0000 (06:20 +0700)
ecere/src/gfx/drivers/GDIDisplayDriver.ec

index fe5e472..67223d0 100644 (file)
@@ -554,7 +554,7 @@ class GDIDisplayDriver : DisplayDriver
 
          surface.box = box;
 
-         if(box.right > box.left && box.bottom > box.top)
+         if(box.right >= box.left && box.bottom >= box.top)
          {
             box.left += surface.offset.x;
             box.top  += surface.offset.y;