Commit 02a21822 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* revert 2 hacky compilation fixes which were accidentelly committed in [15259]

parent 5ad9a2d4
...@@ -1825,11 +1825,15 @@ void OpenDialog::OnSubsFileSettings( wxCommandEvent& WXUNUSED(event) ) ...@@ -1825,11 +1825,15 @@ void OpenDialog::OnSubsFileSettings( wxCommandEvent& WXUNUSED(event) )
} }
if( subsfile_dialog->align_combo ) if( subsfile_dialog->align_combo )
{ {
subsfile_mrl.Add( wxString::Format(wxT("subsdec-align=%i"), 0 ) ); subsfile_mrl.Add( wxString::Format(wxT("subsdec-align=%i"),
(int)subsfile_dialog->align_combo->GetClientData(
subsfile_dialog->align_combo->GetSelection()) ) );
} }
if( subsfile_dialog->size_combo ) if( subsfile_dialog->size_combo )
{ {
subsfile_mrl.Add( wxString::Format( wxT("freetype-rel-fontsize=%i"),0) ); subsfile_mrl.Add( wxString::Format( wxT("freetype-rel-fontsize=%i"),
(int)subsfile_dialog->size_combo->GetClientData(
subsfile_dialog->size_combo->GetSelection()) ) );
} }
subsfile_mrl.Add( wxString::Format( wxT("sub-fps=%i"), subsfile_mrl.Add( wxString::Format( wxT("sub-fps=%i"),
subsfile_dialog->fps_spinctrl->GetValue() ) ); subsfile_dialog->fps_spinctrl->GetValue() ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment