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:
avolkov
2010-05-22 18:27:21 +00:00
parent e4886e60ee
commit e354e5e481
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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;