Skip to content

Commit 03d3f16

Browse files
committed
Fix TGUINew
1 parent 5d84384 commit 03d3f16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Toshi/Source/TGui/TGUIMemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TPile TGUIMemory::ms_oMemoryPile = TPile(0x8000, 0x100000, 0);
99
void *TOSHI_API TGUINew(TUINT a_uiSize)
1010
{
1111
if (TGUIMemory::ms_bAllocUsePile) {
12-
TGUIMemory::ms_oMemoryPile.RawAlloc(a_uiSize, 4);
12+
return TGUIMemory::ms_oMemoryPile.RawAlloc(a_uiSize, 4);
1313
}
1414
return tmalloc(a_uiSize, TNULL, -1);
1515
}

0 commit comments

Comments
 (0)