[vlc-devel] commit: macosx: Fix a warning in simple_prefs. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 14 18:03:05 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Aug 14 18:03:28 2008 +0200| [c6ff53ebc4e1a7319212e18ba769a33d39a6ac96] | committer: Pierre d'Herbemont 

macosx: Fix a warning in simple_prefs.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6ff53ebc4e1a7319212e18ba769a33d39a6ac96
---

 modules/gui/macosx/simple_prefs.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 4b2f2ab..c670b91 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -88,7 +88,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
     if( base )
         [o_temp_str appendString: [NSString stringWithUTF8String: base]];
     else
-        o_temp_str = _NS("Not Set");
+        o_temp_str = [NSMutableString stringWithString:_NS("Not Set")];
     return o_temp_str;
 }
 




More information about the vlc-devel mailing list