Style fix in BAlert, some sort of strange spaces got in there

This commit is contained in:
John Scipione 2013-04-30 20:07:08 -04:00
parent 6723d9fc94
commit d4d842b4ed
1 changed files with 3 additions and 3 deletions

View File

@ -406,9 +406,9 @@ BAlert::AlertPosition(float width, float height)
dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
BScreen screen(window);
BRect screenFrame(0, 0, 640, 480);
if (screen.IsValid())
screenFrame = screen.Frame();
BRect screenFrame(0, 0, 640, 480);
if (screen.IsValid())
screenFrame = screen.Frame();
// Horizontally, we're smack in the middle
result.x = screenFrame.left + (screenFrame.Width() / 2.0) - (width / 2.0);