- 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:
parent
650da24364
commit
9e2e9262a4
4 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue