From: Jérome Decoodt Date: Wed, 8 Feb 2006 10:33:46 +0000 (+0000) Subject: Fix message advice (use description.widgets instead of only description) X-Git-Tag: 0.9.0-test0~12459 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0fec2240ab5efd235c93659a303bedc77966c069;p=vlc Fix message advice (use description.widgets instead of only description) --- diff --git a/modules/gui/macosx/interaction.m b/modules/gui/macosx/interaction.m index 206ba1a36b..8c912600d7 100644 --- a/modules/gui/macosx/interaction.m +++ b/modules/gui/macosx/interaction.m @@ -114,7 +114,7 @@ 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 ) @@ -150,6 +150,8 @@ 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 ) {