]> git.sesse.net Git - vlc/commitdiff
macosx: Fix a warning in simple_prefs.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 14 Aug 2008 16:03:28 +0000 (18:03 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 14 Aug 2008 16:05:03 +0000 (18:05 +0200)
modules/gui/macosx/simple_prefs.m

index 4b2f2ab319d90e78e9763acc0b82f335d9555c30..c670b91a5f9d0bdaae73e091973cb0a2343199a6 100644 (file)
@@ -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;
 }