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:
@@ -377,7 +377,7 @@ void
|
|||||||
ShowImageWindow::WindowRedimension(BBitmap *pbitmap)
|
ShowImageWindow::WindowRedimension(BBitmap *pbitmap)
|
||||||
{
|
{
|
||||||
BScreen screen;
|
BScreen screen;
|
||||||
if (screen.IsValid())
|
if (!screen.IsValid())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BRect r(pbitmap->Bounds());
|
BRect r(pbitmap->Bounds());
|
||||||
|
|||||||
Reference in New Issue
Block a user