From: helge Date: Mon, 28 May 2007 19:08:24 +0000 (+0000) Subject: fixed yet another issue with compilation on Cocoa ;-) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da10685a2091f00a1a149542d8d8bd85b35ac0e1;p=sope fixed yet another issue with compilation on Cocoa ;-) git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1491 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-mime/NGMime/NGMimeTextBodyGenerator.m b/sope-mime/NGMime/NGMimeTextBodyGenerator.m index a535dcc7..05a895eb 100644 --- a/sope-mime/NGMime/NGMimeTextBodyGenerator.m +++ b/sope-mime/NGMime/NGMimeTextBodyGenerator.m @@ -84,7 +84,7 @@ if ([charset isNotEmpty]) { #if NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY - encoding = (NSString *)[NSString stringEncodingForEncodingNamed:charset]; + encoding = [NSString stringEncodingForEncodingNamed:charset]; #else encoding = [self _encodingFromContentType:[_part contentType]]; #endif