[vlc-devel] commit: Add a DIR_SEP to the download folder. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jul 27 19:53:36 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 27 10:53:16 2008 -0700| [1595a7ef89f45c936857d3e12aff5f66cb2b0880]

Add a DIR_SEP to the download folder.
Close #1776

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1595a7ef89f45c936857d3e12aff5f66cb2b0880
---

 modules/gui/qt4/dialogs/help.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/dialogs/help.cpp b/modules/gui/qt4/dialogs/help.cpp
index 1b135ba..16c8221 100644
--- a/modules/gui/qt4/dialogs/help.cpp
+++ b/modules/gui/qt4/dialogs/help.cpp
@@ -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 ) );
         }




More information about the vlc-devel mailing list