File system refactoring

This commit is contained in:
elasota
2019-12-29 06:38:18 -05:00
parent b24505164d
commit 430842d17b
74 changed files with 874 additions and 1240 deletions

View File

@@ -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;