From 71a34702d392526144b98b31f91368a9539cc9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 7 Feb 2006 12:11:00 +0000 Subject: [PATCH] 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 --- src/apps/showimage/ShowImageWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 14f8a18852..d14136dd3e 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -377,7 +377,7 @@ void ShowImageWindow::WindowRedimension(BBitmap *pbitmap) { BScreen screen; - if (screen.IsValid()) + if (!screen.IsValid()) return; BRect r(pbitmap->Bounds());