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:
parent
335b47697c
commit
e3c6cec42e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user