- Fixed: Crash in Linux due to passing FStrings as character arrays.

- Fixed: More places where SBarInfo used the unscaled information from graphics.

SVN r2948 (trunk)
This commit is contained in:
Braden Obrzut 2010-10-16 17:04:18 +00:00
commit 9e2e9262a4
4 changed files with 6 additions and 6 deletions

View file

@ -1153,8 +1153,8 @@ public:
if((offsetflags & SBarInfoCommand::CENTER) == SBarInfoCommand::CENTER)
{
dx -= (texture->GetScaledWidthDouble()/2.0)-texture->LeftOffset;
dy -= (texture->GetScaledHeightDouble()/2.0)-texture->TopOffset;
dx -= (texture->GetScaledWidthDouble()/2.0)-texture->GetScaledLeftOffsetDouble();
dy -= (texture->GetScaledHeightDouble()/2.0)-texture->GetScaledTopOffsetDouble();
}
dx += xOffset;