* fileinfo.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
- * $Id: fileinfo.cpp,v 1.15 2003/06/05 21:22:27 gbazin Exp $
+ * $Id: fileinfo.cpp,v 1.17 2003/07/12 13:33:10 gbazin Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
fileinfo_root_label = wxT("");
/* Create the OK button */
- wxButton *ok_button = new wxButton( panel, wxID_OK, wxU(_("OK")) );
+ wxButton *ok_button = new wxButton( panel, wxID_OK, wxU(_("Close")) );
ok_button->SetDefault();
/* Place everything in sizers */
{
input_thread_t *p_input = p_intf->p_sys->p_input;
- if( !p_input || p_input->b_dead )
+ if( !p_input || p_input->b_dead || !p_input->psz_name )
{
if( fileinfo_root )
{