fix(eas): avoid doing bogus truncation

This commit is contained in:
Ludovic Marcotte
2020-05-14 15:46:55 -04:00
committed by leecher1337
parent b77d69fbd0
commit f94586e47b
+2 -1
View File
@@ -772,7 +772,8 @@ struct GlobalObjectId {
}
}
return [theContent substringToIndex: i];
if (i >= 0)
return [theContent substringToIndex: i];
}
*wasTruncated = 0;