]> git.sesse.net Git - vlc/commitdiff
Add a DIR_SEP to the download folder.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 27 Jul 2008 17:53:16 +0000 (10:53 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 27 Jul 2008 17:56:21 +0000 (10:56 -0700)
Close #1776

modules/gui/qt4/dialogs/help.cpp

index 1b135bab2ab3a3ed4fe8db740f9bbb61791dedae..16c8221ef091a24202926f85b11cee5c5f6061e8 100644 (file)
@@ -262,6 +262,10 @@ void UpdateDialog::UpdateOrDownload()
 
         if( dest_dir != "" )
         {
+            #if defined( WIN32 ) || defined( UNDER_CE )
+            dest_dir += DIR_SEP;
+            #endif
+            msg_Dbg( p_intf, "Downloading to folder: %s", dest_dir );
             toggleVisible();
             update_Download( p_update, qtu( dest_dir ) );
         }