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:
Axel Dörfler 2006-02-07 12:11:00 +00:00
parent 009cd1060a
commit 71a34702d3
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ void
ShowImageWindow::WindowRedimension(BBitmap *pbitmap)
{
BScreen screen;
if (screen.IsValid())
if (!screen.IsValid())
return;
BRect r(pbitmap->Bounds());