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

Fix a crash when extracting a word including a complex char whose value was lost

parent eab86ef8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -310,7 +310,7 @@ const NSInteger kUnlimitedMaximumWordLength = NSIntegerMax;
theChar.code < ITERM2_PRIVATE_BEGIN ||
theChar.code > ITERM2_PRIVATE_END) {
[indexesInSuffix addObject:@(stringFromLocation.length)];
[stringFromLocation appendString:ScreenCharToStr(&theChar)];
[stringFromLocation appendString:(ScreenCharToStr(&theChar) ?: @"")];
[coords addObject:[NSValue valueWithGridCoord:coord]];
}
}
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