]> git.sesse.net Git - vlc/commitdiff
Fix message advice (use description.widgets instead of only description)
authorJérome Decoodt <djc@videolan.org>
Wed, 8 Feb 2006 10:33:46 +0000 (10:33 +0000)
committerJérome Decoodt <djc@videolan.org>
Wed, 8 Feb 2006 10:33:46 +0000 (10:33 +0000)
modules/gui/macosx/interaction.m

index 206ba1a36bf804a983c0278e0b1208bbd9abd736..8c912600d77ff5071760091ac5cbe4a11590dfb1 100644 (file)
         NSLog( @"serious issue" );
 
     NSString *o_title = [NSString stringWithUTF8String:p_dialog->psz_title ? p_dialog->psz_title : "title"];
-    NSString *o_description = [NSString stringWithUTF8String:p_dialog->psz_description ? p_dialog->psz_description : "desc"];
+    NSString *o_description = [NSString stringWithUTF8String:p_dialog->psz_description ? p_dialog->psz_description : ""];
     
     vout_thread_t *p_vout = vlc_object_find( VLCIntf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
     if( p_vout != NULL )
         for( i = 0; i < p_dialog->i_widgets; i++ )
         {
             NSLog( @"widget: %@", [NSString stringWithUTF8String: p_dialog->pp_widgets[i]->psz_text] );
+            o_description = [o_description stringByAppendingString:
+                                [NSString stringWithUTF8String: p_dialog->pp_widgets[i]->psz_text]];
         }
         if( p_dialog->i_flags & DIALOG_OK_CANCEL )
         {