mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Temporary fix for issue with RTF parsing crash. Issue #107
This commit is contained in:
parent
227b0f33fa
commit
ba6666a760
1 changed files with 6 additions and 0 deletions
|
@ -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] == ' ')
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue