Monotone-Parent: 6a6bbe9da76e6e30fd9ce63cf4a8c7677f5f61a0
Monotone-Revision: 40b7c19f2c07d8bd5fbb6e2cc45cba387e15d768 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-06-01T14:22:28maint-2.0.2
parent
9e842e7277
commit
fd7f15c81e
|
@ -1,5 +1,9 @@
|
|||
2012-06-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartAlternativeViewer.m
|
||||
(-childPartName): fixed a potential crash by building the NSString
|
||||
from the integer itself, with the proper format string.
|
||||
|
||||
* SoObjects/SOGo/NSString+Crypto.m
|
||||
(-isEqualToCrypted:withDefaultScheme:): invoke "intValue" rather
|
||||
than "integerValue" on the encoding number as the int type is not
|
||||
|
|
|
@ -174,11 +174,8 @@
|
|||
|
||||
- (NSString *) childPartName
|
||||
{
|
||||
char buf[8];
|
||||
|
||||
sprintf (buf, "%"PRIuPTR"", [self childIndex] + 1);
|
||||
|
||||
return [NSString stringWithCString:buf];
|
||||
return [NSString stringWithFormat: @"%u",
|
||||
(unsigned int) ([self childIndex] + 1)];
|
||||
}
|
||||
|
||||
- (id) childPartPath
|
||||
|
|
Loading…
Reference in New Issue