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

Fix crash on no smart selection rules in profile

parent c1833bab
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1983,7 +1983,7 @@ static BOOL RectsEqual(NSRect* a, NSRect* b) {
NSLog(@"Perform smart selection on text: %@", textWindow);
}
for (int j = 0; j < numRules; j++) {
NSDictionary *rule = [smartSelectionRules_ objectAtIndex:j];
NSDictionary *rule = [rulesArray objectAtIndex:j];
NSString *regex = [SmartSelectionController regexInRule:rule];
double precision = [SmartSelectionController precisionInRule:rule];
if (debug) {
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