* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42781 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e98a850504
commit
3f0171fff5
@ -1051,7 +1051,7 @@ BBitmap::_InitObject(BRect bounds, color_space colorSpace, uint32 flags,
|
|||||||
BPrivate::ServerMemoryAllocator* allocator
|
BPrivate::ServerMemoryAllocator* allocator
|
||||||
= BApplication::Private::ServerAllocator();
|
= BApplication::Private::ServerAllocator();
|
||||||
|
|
||||||
if (allocationFlags & kNewAllocatorArea) {
|
if ((allocationFlags & kNewAllocatorArea) != 0) {
|
||||||
error = allocator->AddArea(fServerArea, fArea,
|
error = allocator->AddArea(fServerArea, fArea,
|
||||||
fBasePointer, size);
|
fBasePointer, size);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user