Fix build error on older macOS versions

* src/nsterm.m (ns_scroll_run): Use srcRect instead of destRect.
This commit is contained in:
Alan Third 2023-09-13 20:26:54 +01:00
parent 0fe1cd4929
commit 4b44178e72

View file

@ -2708,7 +2708,7 @@ Hide the window (X11 semantics)
[view copyRect:srcRect to:dest];
#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED < 101400
[view setNeedsDisplayInRect:destRect];
[view setNeedsDisplayInRect:srcRect];
#endif
}