Fixed a bad typo

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12700 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-05-17 15:53:17 +00:00
parent 335b47697c
commit e3c6cec42e

View File

@ -2616,7 +2616,7 @@ BTextView::FlattenRunArray(const text_run_array *inArray, int32 *outSize)
{
CALLED();
int32 size = sizeof(flattened_text_run_array) + (inArray->count - 1) *
sizeof(flattened_text_run_array);
sizeof(flattened_text_run);
flattened_text_run_array *array = (flattened_text_run_array *)malloc(size);
if (array == NULL) {