diff --git a/src/Forms/FixCommonErrors.cs b/src/Forms/FixCommonErrors.cs index 1cbc1ae50..4e8169962 100644 --- a/src/Forms/FixCommonErrors.cs +++ b/src/Forms/FixCommonErrors.cs @@ -81,10 +81,10 @@ namespace Nikse.SubtitleEdit.Forms private class FixItem { - public string Name { get; set; } - public string Example { get; set; } - public Action Action { get; set; } - public bool DefaultChecked { get; set; } + public string Name { get; private set; } + public string Example { get; private set; } + public Action Action { get; private set; } + public bool DefaultChecked { get; private set; } public FixItem(string name, string example, Action action, bool selected) { diff --git a/src/Forms/Styles/SubStationAlphaStyles.cs b/src/Forms/Styles/SubStationAlphaStyles.cs index 1cf0ec031..ebf985ce3 100644 --- a/src/Forms/Styles/SubStationAlphaStyles.cs +++ b/src/Forms/Styles/SubStationAlphaStyles.cs @@ -624,7 +624,7 @@ namespace Nikse.SubtitleEdit.Forms.Styles { string styleName = listViewStyles.SelectedItems[0].Text; SsaStyle oldStyle = GetSsaStyle(styleName); - SsaStyle style = new SsaStyle(oldStyle); // Copy contructor + var style = new SsaStyle(oldStyle); // Copy contructor style.Name = string.Format(Configuration.Settings.Language.SubStationAlphaStyles.CopyOfY, styleName); if (GetSsaStyle(style.Name).LoadedFromHeader)