From 3f0171fff5cfe71c9114a95eefdbd31a677e1113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 29 Sep 2011 22:46:35 +0000 Subject: [PATCH] * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42781 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Bitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/Bitmap.cpp b/src/kits/interface/Bitmap.cpp index ed56794560..4a3b3986a7 100644 --- a/src/kits/interface/Bitmap.cpp +++ b/src/kits/interface/Bitmap.cpp @@ -1051,7 +1051,7 @@ BBitmap::_InitObject(BRect bounds, color_space colorSpace, uint32 flags, BPrivate::ServerMemoryAllocator* allocator = BApplication::Private::ServerAllocator(); - if (allocationFlags & kNewAllocatorArea) { + if ((allocationFlags & kNewAllocatorArea) != 0) { error = allocator->AddArea(fServerArea, fArea, fBasePointer, size); } else {