gutenprint: Fix ASSERT expression
Change-Id: I7fb39364fe8cf2b5596764bb4db3bda12295a171 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4096 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Jérôme Duval <[email protected]> Reviewed-by: Jacob Secunda <[email protected]>
This commit is contained in:
committed by
Niels Sascha Reedijk
parent
5c178f3cbb
commit
9be773046a
@@ -32,7 +32,7 @@ template<typename TYPE>
|
||||
void
|
||||
GPArray<TYPE>::SetSize(int size)
|
||||
{
|
||||
ASSERT(fSize == NULL);
|
||||
ASSERT(fSize == 0);
|
||||
fArray = new PointerType[size];
|
||||
if (fArray == NULL)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user