Fixed uninited TEXT field in cargo display; bug #1092
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3538 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
|
- Fixed misaligned cargo count (bug #1092) - Coredev
|
||||||
- Fixed the network SuperMelee team configuration protocol - SvdB
|
- Fixed the network SuperMelee team configuration protocol - SvdB
|
||||||
- Fixed fuel reserve bounds checks - SvdB
|
- Fixed fuel reserve bounds checks - SvdB
|
||||||
- Fixed a crash when filling fuel tanks over 10 (bug #1082) - Alex
|
- Fixed a crash when filling fuel tanks over 10 (bug #1082) - Alex
|
||||||
|
|||||||
@@ -104,6 +104,7 @@ DrawElementAmount (COUNT element, bool selected)
|
|||||||
CARGO_SELECTED_BACK_COLOR : CARGO_BACK_COLOR);
|
CARGO_SELECTED_BACK_COLOR : CARGO_BACK_COLOR);
|
||||||
DrawFilledRectangle (&r);
|
DrawFilledRectangle (&r);
|
||||||
|
|
||||||
|
t.align = ALIGN_RIGHT;
|
||||||
t.pStr = buf;
|
t.pStr = buf;
|
||||||
t.baseline.y = r.corner.y + TEXT_BASELINE;
|
t.baseline.y = r.corner.y + TEXT_BASELINE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user