(fix) check if found before changing location
This commit is contained in:
parent
d9d4808d29
commit
2e8c6680fe
|
@ -373,7 +373,8 @@
|
|||
r1 = [cleaned_message rangeOfCString: "\r\nBcc: "
|
||||
options: 0
|
||||
range: NSMakeRange(0,limit)];
|
||||
r1.location += 2;
|
||||
if (r1.location != NSNotFound)
|
||||
r1.location += 2;
|
||||
}
|
||||
|
||||
if (r1.location != NSNotFound)
|
||||
|
|
Loading…
Reference in a new issue