Fixed the resizing bug I accidently introduced with r16260.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
009cd1060a
commit
71a34702d3
@ -377,7 +377,7 @@ void
|
||||
ShowImageWindow::WindowRedimension(BBitmap *pbitmap)
|
||||
{
|
||||
BScreen screen;
|
||||
if (screen.IsValid())
|
||||
if (!screen.IsValid())
|
||||
return;
|
||||
|
||||
BRect r(pbitmap->Bounds());
|
||||
|
Loading…
Reference in New Issue
Block a user