added a small but important comment
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7163 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -42,6 +42,8 @@ ServerBitmap::ServerBitmap(BRect rect,color_space space, int32 flags,
|
|||||||
_initialized=false;
|
_initialized=false;
|
||||||
|
|
||||||
_area=B_ERROR;
|
_area=B_ERROR;
|
||||||
|
//!!! WARNING !!! '1' is added to the width and height. Same is done in FBBitmap
|
||||||
|
// subclass, so if you modify here make sure to do the same under FBBitmap::SetSize(...)
|
||||||
_width=rect.IntegerWidth()+1;
|
_width=rect.IntegerWidth()+1;
|
||||||
_height=rect.IntegerHeight()+1;
|
_height=rect.IntegerHeight()+1;
|
||||||
_space=space;
|
_space=space;
|
||||||
|
|||||||
Reference in New Issue
Block a user