]> git.sesse.net Git - vlc/commitdiff
* skins2/src/dialogs.cpp: more encoding fixes
authorOlivier Teulière <ipkiss@videolan.org>
Mon, 24 Jul 2006 20:09:22 +0000 (20:09 +0000)
committerOlivier Teulière <ipkiss@videolan.org>
Mon, 24 Jul 2006 20:09:22 +0000 (20:09 +0000)
modules/gui/skins2/src/dialogs.cpp

index 7503ef41278ee09914c8d568afa2be7a47ca47c4..9d00f26688a1939ddf3551049c1a1fb7e620ca7c 100644 (file)
@@ -41,7 +41,7 @@ void Dialogs::showChangeSkinCB( intf_dialog_args_t *pArg )
         {
             // Create a change skin command
             CmdChangeSkin *pCmd =
-                new CmdChangeSkin( pIntf, pArg->psz_results[0] );
+                new CmdChangeSkin( pIntf, sFromLocale( pArg->psz_results[0] ) );
 
             // Push the command in the asynchronous command queue
             AsyncQueue *pQueue = AsyncQueue::instance( pIntf );
@@ -65,7 +65,7 @@ void Dialogs::showPlaylistLoadCB( intf_dialog_args_t *pArg )
     {
         // Create a Playlist Load command
         CmdPlaylistLoad *pCmd =
-            new CmdPlaylistLoad( pIntf, pArg->psz_results[0] );
+            new CmdPlaylistLoad( pIntf, sFromLocale( pArg->psz_results[0] ) );
 
         // Push the command in the asynchronous command queue
         AsyncQueue *pQueue = AsyncQueue::instance( pIntf );