]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/prefs_widgets.m
* replaced a couple of to-be-deprecated cStrings by UTF8Strings
[vlc] / modules / gui / macosx / prefs_widgets.m
index d4f979d87560f89c70dcb59307eed18a28858042..098c0e7213069fcf31ae5e4f3e39bc5b95bedd90 100644 (file)
@@ -2215,7 +2215,7 @@ if( _p_item->i_type == CONFIG_ITEM_MODULE_LIST )
 
 - (char *)stringValue
 {
-    return strdup( [[o_textfield stringValue] cString] );
+    return strdup( [[o_textfield stringValue] UTF8String] );
 }
 
 @end