[vlc-devel] commit: Add "" around subtitles name. Fix #1528 (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Mar 19 03:42:48 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 18 19:42:12 2008 -0700| [461e426f5b03bdfc8d40dd8874f3cb7e23da7127]

Add "" around subtitles name. Fix #1528

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

 modules/gui/qt4/components/open_panels.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index a9f27f4..3393c20 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -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 ) );




More information about the vlc-devel mailing list