Commit 95ff93b2 authored by Olivier Teulière's avatar Olivier Teulière

* skins2/win32/win32_dragdrop.cpp: Added a missing encoding conversion

 * skins2/parser/interpreter.cpp: playtree.del() is now a synonym of
    playlist.del(), as it is already in use in some skins...
    Same thing for playtree.sort().
parent 6c30ac68
...@@ -93,7 +93,10 @@ Interpreter::Interpreter( intf_thread_t *pIntf ): SkinObject( pIntf ) ...@@ -93,7 +93,10 @@ Interpreter::Interpreter( intf_thread_t *pIntf ): SkinObject( pIntf )
VarTree &rVarTree = VlcProc::instance( getIntf() )->getPlaytreeVar(); VarTree &rVarTree = VlcProc::instance( getIntf() )->getPlaytreeVar();
m_commandMap["playlist.del()"] = m_commandMap["playlist.del()"] =
CmdGenericPtr( new CmdPlaytreeDel( getIntf(), rVarTree ) ); CmdGenericPtr( new CmdPlaytreeDel( getIntf(), rVarTree ) );
m_commandMap["playtree.del()"] =
CmdGenericPtr( new CmdPlaytreeDel( getIntf(), rVarTree ) );
REGISTER_CMD( "playlist.sort()", CmdPlaytreeSort ) REGISTER_CMD( "playlist.sort()", CmdPlaytreeSort )
REGISTER_CMD( "playtree.sort()", CmdPlaytreeSort )
REGISTER_CMD( "vlc.fullscreen()", CmdFullscreen ) REGISTER_CMD( "vlc.fullscreen()", CmdFullscreen )
REGISTER_CMD( "vlc.play()", CmdPlay ) REGISTER_CMD( "vlc.play()", CmdPlay )
REGISTER_CMD( "vlc.pause()", CmdPause ) REGISTER_CMD( "vlc.pause()", CmdPause )
......
...@@ -158,7 +158,7 @@ void Win32DragDrop::HandleDrop( HDROP HDrop ) ...@@ -158,7 +158,7 @@ void Win32DragDrop::HandleDrop( HDROP HDrop )
DragQueryFile( HDrop, i, psz_fileName, nameLength ); DragQueryFile( HDrop, i, psz_fileName, nameLength );
// Add the file // Add the file
CmdAddItem cmd( getIntf(), psz_fileName, m_playOnDrop ); CmdAddItem cmd( getIntf(), sFromLocale( psz_fileName ), m_playOnDrop );
cmd.execute(); cmd.execute();
delete[] psz_fileName; delete[] psz_fileName;
......
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