Commit 51c4db8c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fixes from hobophobe on IRC

parent 5fe42b8e
......@@ -39,7 +39,7 @@ const string EvtKey::getAsString() const
msg_Warn( getIntf(), "Unknown action type" );
// Add the key
char *keyName = KeyToString( m_key );
const char *keyName = KeyToString( m_key );
if( keyName )
event += (string)":" + keyName;
else
......
......@@ -1071,7 +1071,7 @@ void Interface::PlayStream()
FIND_ANYWHERE );
if( p_playlist == NULL ) return;
if( p_playlist->i_size && p_playlist->i_enabled )
if( !playlist_IsEmpty(p_playlist) && p_playlist->i_enabled )
{
vlc_value_t state;
......
......@@ -271,7 +271,7 @@ int IntfAutoMenuBuilder( intf_thread_t *p_intf, ArrayOfInts &ri_objects,
} \
else \
{ \
if( p_playlist && !playlist_IsEmpty( p_playlist->i_size ) ) \
if( p_playlist && !playlist_IsEmpty( p_playlist ) ) \
{ \
popupmenu.InsertSeparator( 0 ); \
popupmenu.Insert( 0, Play_Event, wxU(_("Play")) ); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment