Fix build error on older macOS versions
* src/nsterm.m (ns_scroll_run): Use srcRect instead of destRect.
This commit is contained in:
parent
0fe1cd4929
commit
4b44178e72
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue