mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 23:12:40 +00:00
fix(eas): avoid doing bogus truncation
This commit is contained in:
1 parent
b53d1254d9
commit
96986280ee
1 file changed
+2
-1
@@ -772,7 +772,8 @@ struct GlobalObjectId {
|
||||
}
|
||||
}
|
||||
|
||||
return [theContent substringToIndex: i];
|
||||
if (i >= 0)
|
||||
return [theContent substringToIndex: i];
|
||||
}
|
||||
|
||||
*wasTruncated = 0;
|
||||
|
||||
Reference in new issue
Block a user