From e78c06d17082152772f849fa9f0425d9e6062af6 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 14 Mar 2006 08:04:35 +0000 Subject: [PATCH] Reverted change 16774 as stippi's wish. The offset should be ignored when drawing bitmaps, but it's obviously not, at least in some case. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16781 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Bitmap.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kits/interface/Bitmap.cpp b/src/kits/interface/Bitmap.cpp index d2082105de..0c4098c75d 100644 --- a/src/kits/interface/Bitmap.cpp +++ b/src/kits/interface/Bitmap.cpp @@ -828,8 +828,6 @@ BBitmap::InitObject(BRect bounds, color_space colorSpace, uint32 flags, CleanUp(); - bounds.OffsetTo(B_ORIGIN); - // check params if (!bounds.IsValid() || !bitmaps_support_space(colorSpace, NULL)) { error = B_BAD_VALUE;