diff options
Diffstat (limited to 'Cydia')
-rw-r--r-- | Cydia/MIMEAddress.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cydia/MIMEAddress.mm b/Cydia/MIMEAddress.mm index e4dcbab..65f29ec 100644 --- a/Cydia/MIMEAddress.mm +++ b/Cydia/MIMEAddress.mm @@ -61,7 +61,7 @@ - (id) initWithString:(NSString *)string { if ((self = [super init]) != nil) { const char *data = [string UTF8String]; - size_t size = [string length]; + size_t size = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding]; static Pcre address_r("^\"?(.*)\"? <([^>]*)>$"); |