(fix) avoid EAS bday offset (fixes #3518) + small fix in previous commit

This commit is contained in:
Ludovic Marcotte
2016-02-11 15:04:44 -05:00
parent 9d6e779bb0
commit 4f1ce3f2df
2 changed files with 18 additions and 4 deletions
+3 -3
View File
@@ -1178,7 +1178,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
a = [[realCollectionId componentsSeparatedByString: @"/"] mutableCopy];
[a autorelease]
[a autorelease];
pathToPart = [a lastObject];
[a removeLastObject];
messageName = [a lastObject];
@@ -1389,8 +1389,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
int p;
a = [[realCollectionId componentsSeparatedByString: @"/"] mutableCopy];
[a autorelease]
pathToPart = [a lastObject];
[a autorelease];
pathToPart = [a lastObject];
[a removeLastObject];
messageName = [a lastObject];
[a removeLastObject];