]> git.sesse.net Git - vlc/commitdiff
* If labels are nil, then it shouldn't disable the entire preference panel.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 6 Mar 2003 10:15:37 +0000 (10:15 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 6 Mar 2003 10:15:37 +0000 (10:15 +0000)
  fixes #428 more permenantly. the cause was a missing rt-priority desc.

modules/gui/macosx/prefs.m

index 79b9c28106a5071bcc63d6194a2f5a8df4d3ec15..c4dd476c8458f98cd95a3ea1629b7e8b5392ab65 100644 (file)
@@ -2,7 +2,7 @@
  * prefs.m: MacOS X plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: prefs.m,v 1.16 2003/02/23 05:53:53 jlj Exp $
+ * $Id: prefs.m,v 1.17 2003/03/06 10:15:37 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *
         [o_text_field setBordered: NO]; \
         [o_text_field setEditable: NO]; \
         [o_text_field setSelectable: NO]; \
-        [o_text_field setStringValue: \
-            [NSApp localizedString: label]]; \
+        if ( label ) \
+        { \
+            [o_text_field setStringValue: \
+                [NSApp localizedString: label]]; \
+        } \
         [o_text_field sizeToFit]; \
         [o_view addSubview: [o_text_field autorelease]]; \
     }