mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
File system refactoring
This commit is contained in:
@@ -737,7 +737,7 @@ void LopOffExtraRooms (void)
|
||||
{
|
||||
r = (*thisHouse)->nRooms - count;
|
||||
newSize = sizeof(houseType) + (sizeof(roomType) * (long)r);
|
||||
if (SetHandleSize((Handle)thisHouse, newSize) != noErr) // resize house handle (shrink)
|
||||
if (SetHandleSize((Handle)thisHouse, newSize) != PLErrors::kNone) // resize house handle (shrink)
|
||||
{
|
||||
ForeColor(redColor);
|
||||
GetLocalizedString(16, message);
|
||||
|
Reference in New Issue
Block a user