Skip to content
Snippets Groups Projects
Commit 9852cc82 authored by George Nachman's avatar George Nachman
Browse files

Avoid crashing when getting an SCP path for a file that has scrolled off

parent e939dc0c
No related branches found
No related tags found
No related merge requests found

#import "VT100Screen.h"
 
#import "CapturedOutput.h"
Loading
Loading
@@ -1900,6 +1900,9 @@ static NSString *const kInilineFileInset = @"inset"; // NSValue of NSEdgeInsets
line + 1,
0,
line + 1)].location;
if (pos < 0) {
return nil;
}
NSEnumerator *enumerator = [intervalTree_ reverseEnumeratorAt:pos];
NSArray *objects;
do {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment