Temporary fix for issue with RTF parsing crash. Issue #107

This commit is contained in:
Gregory John Casamento 2021-06-27 02:43:46 -04:00
parent 227b0f33fa
commit ba6666a760

View file

@ -1377,6 +1377,12 @@ void GSRTFaddField (void *ctxt, int start, const char *inst)
{
NSString *fieldInstruction;
if (inst == NULL)
{
NSLog(@"inst is NULL");
return;
}
// Ignore leading blanks
while (inst[0] == ' ')
{