mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
[ExportPngXml] - Fix typos.
This commit is contained in:
parent
4d3b4f3fd1
commit
2bfc240652
@ -71,7 +71,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
|
|
||||||
private Subtitle _subtitle;
|
private Subtitle _subtitle;
|
||||||
private SubtitleFormat _format;
|
private SubtitleFormat _format;
|
||||||
private static string _formtName;
|
private static string _formatName;
|
||||||
private Color _subtitleColor;
|
private Color _subtitleColor;
|
||||||
private string _subtitleFontName = "Verdana";
|
private string _subtitleFontName = "Verdana";
|
||||||
private float _subtitleFontSize = 25.0f;
|
private float _subtitleFontSize = 25.0f;
|
||||||
@ -3423,7 +3423,7 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (comboBoxSubtitleFont.SelectedIndex == -1)
|
if (comboBoxSubtitleFont.SelectedIndex == -1)
|
||||||
comboBoxSubtitleFont.SelectedIndex = 0; // take first font if default font not found (e.g. linux)
|
comboBoxSubtitleFont.SelectedIndex = 0; // take first font if default font was not found (e.g. linux)
|
||||||
|
|
||||||
if (videoInfo != null && videoInfo.Height > 0 && videoInfo.Width > 0)
|
if (videoInfo != null && videoInfo.Height > 0 && videoInfo.Width > 0)
|
||||||
{
|
{
|
||||||
@ -3820,7 +3820,7 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
|
|||||||
{
|
{
|
||||||
_isLoading = false;
|
_isLoading = false;
|
||||||
subtitleListView1_SelectedIndexChanged(null, null);
|
subtitleListView1_SelectedIndexChanged(null, null);
|
||||||
_formtName = _format != null ? _format.Name : string.Empty;
|
_formatName = _format != null ? _format.Name : string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void comboBoxHAlign_SelectedIndexChanged(object sender, EventArgs e)
|
private void comboBoxHAlign_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
@ -4056,11 +4056,10 @@ $DROP=[DROPVALUE]" + Environment.NewLine + Environment.NewLine +
|
|||||||
|
|
||||||
private static string GetStyleName(Paragraph paragraph)
|
private static string GetStyleName(Paragraph paragraph)
|
||||||
{
|
{
|
||||||
if ((_formtName == AdvancedSubStationAlpha.NameOfFormat || _formtName == SubStationAlpha.NameOfFormat) && !string.IsNullOrEmpty(paragraph.Extra))
|
if ((_formatName == AdvancedSubStationAlpha.NameOfFormat || _formatName == SubStationAlpha.NameOfFormat) && !string.IsNullOrEmpty(paragraph.Extra))
|
||||||
{
|
{
|
||||||
return paragraph.Extra;
|
return paragraph.Extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user