Fixed the message code for making LineArray calls in the server

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9377 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2004-10-16 01:59:40 +00:00
parent ad398ac272
commit 11620a7e4c

View File

@ -2953,11 +2953,11 @@ void BView::EndLineArray()
debugger("Can't call EndLineArray before BeginLineArray");
check_lock();
owner->fLink->StartMessage( AS_LAYER_LINE_ARRAY );
owner->fLink->StartMessage( AS_STROKE_LINEARRAY );
owner->fLink->Attach<int32>( comm->count );
owner->fLink->Attach(comm->array,comm->count * sizeof(_array_hdr_) );
delete [] comm->array;
delete comm;
comm = NULL;