From: Jean-Baptiste Kempf Date: Wed, 19 Mar 2008 02:42:12 +0000 (-0700) Subject: Add "" around subtitles name. Fix #1528 X-Git-Tag: 0.9.0-test0~1998 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=461e426f5b03bdfc8d40dd8874f3cb7e23da7127;p=vlc Add "" around subtitles name. Fix #1528 --- diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp index a9f27f461d..3393c20a84 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 ) );