* fix weird Shape op/point allocation
* handle out of memory situations * don't try to copy (and assign op!) in SetData if opCount/ptCount is 0 -> FontDemo doesn't crash anymore eventually when cycling fonts in outline mode git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22000 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -84,8 +84,8 @@ virtual void _ReservedShape4();
|
||||
void GetData(int32 *opCount, int32 *ptCount, uint32 **opList, BPoint **ptList);
|
||||
void SetData(int32 opCount, int32 ptCount, const uint32 *opList, const BPoint *ptList);
|
||||
void InitData();
|
||||
void AllocatePts(int32 count);
|
||||
void AllocateOps(int32 count);
|
||||
bool AllocatePts(int32 count);
|
||||
bool AllocateOps(int32 count);
|
||||
|
||||
uint32 fState;
|
||||
uint32 fBuildingOp;
|
||||
|
||||
Reference in New Issue
Block a user