mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 15:27:12 +00:00
(fix) check if found before changing location
This commit is contained in:
1 parent
f83d6a20a1
commit
b9f4947f8a
1 file changed
+2
-1
@@ -368,7 +368,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)
|
||||
|
||||
Reference in new issue
Block a user