[vlc-commits] Revert "macosx: fixed crash when converting strings"
Felix Paul Kühne
git at videolan.org
Sun Jun 5 22:22:16 CEST 2011
vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jun 5 22:21:48 2011 +0200| [c480523065b13a446559bffb45ab275a17fc728d] | committer: Felix Paul Kühne
Revert "macosx: fixed crash when converting strings"
This reverts commit f7a1db99be1a1aec6749f33e25e48232699d8308.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c480523065b13a446559bffb45ab275a17fc728d
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index fe49d88..8abc6be 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1178,7 +1178,7 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl";
if( psz != NULL )
{
- o_str = [[[NSString alloc] initWithFormat:@"%s", psz] autorelease];
+ o_str = [[[NSString alloc] initWithUTF8String: psz] autorelease];
if( o_str == NULL )
{
More information about the vlc-commits
mailing list