]> git.sesse.net Git - vlc/commitdiff
Add "" around subtitles name. Fix #1528
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Mar 2008 02:42:12 +0000 (19:42 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Mar 2008 02:42:12 +0000 (19:42 -0700)
modules/gui/qt4/components/open_panels.cpp

index a9f27f461db40ffb1caf0fd2021559f00e326f1f..3393c20a844949bcc4fd567ab37f6afb6f15ca81 100644 (file)
@@ -1,4 +1,4 @@
-/*****************************************************************************
+Au/*****************************************************************************
  * open.cpp : Panels for the open dialogs
  ****************************************************************************
  * Copyright (C) 2006-2007 the VideoLAN team
@@ -161,7 +161,7 @@ void FileOpenPanel::updateMRL()
     }
 
     if( ui.subCheckBox->isChecked() ) {
-        mrl.append( " :sub-file=" + ui.subInput->text() );
+        mrl.append( " :sub-file=\"" + ui.subInput->text() + "\"" );
         int align = ui.alignSubComboBox->itemData(
                     ui.alignSubComboBox->currentIndex() ).toInt();
         mrl.append( " :subsdec-align=" + QString().setNum( align ) );