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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user