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
@@ -104,6 +104,7 @@ DrawElementAmount (COUNT element, bool selected)
CARGO_SELECTED_BACK_COLOR : CARGO_BACK_COLOR);
DrawFilledRectangle (&r);
t.align = ALIGN_RIGHT;
t.pStr = buf;
t.baseline.y = r.corner.y + TEXT_BASELINE;