You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
526 B
14 lines
526 B
Bug: https://bugs.gentoo.org/600082
|
|
|
|
--- a/Build/Laptop/BobbyRGuns.cc
|
|
+++ b/Build/Laptop/BobbyRGuns.cc
|
|
@@ -700,7 +700,7 @@
|
|
//center picture in frame
|
|
ETRLEObject const& pTrav = uiImage->SubregionProperties(0);
|
|
UINT32 const usWidth = pTrav.usWidth;
|
|
- INT16 const sCenX = PosX + abs(BOBBYR_GRID_PIC_WIDTH - usWidth) / 2 - pTrav.sOffsetX;
|
|
+ INT16 const sCenX = PosX + (BOBBYR_GRID_PIC_WIDTH - usWidth) / 2 - pTrav.sOffsetX;
|
|
INT16 const sCenY = PosY + 8;
|
|
|
|
//blt the shadow of the item
|