mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
File system refactoring
This commit is contained in:
@@ -752,7 +752,7 @@ void AddToMirrorRegion (Rect *theRect)
|
||||
const long oldSize = GetHandleSize(reinterpret_cast<Handle>(mirrorRects));
|
||||
const long newSize = oldSize + sizeof(Rect);
|
||||
|
||||
if (SetHandleSize(reinterpret_cast<Handle>(mirrorRects), newSize) == noErr)
|
||||
if (SetHandleSize(reinterpret_cast<Handle>(mirrorRects), newSize) == PLErrors::kNone)
|
||||
(*mirrorRects)[oldSize / sizeof(Rect)] = *theRect;
|
||||
}
|
||||
hasMirror = true;
|
||||
|
||||
Reference in New Issue
Block a user