From be1f028961b5651e795895988b24df08e6615692 Mon Sep 17 00:00:00 2001 From: Ivandro Jao Date: Fri, 18 Mar 2022 23:46:27 +0000 Subject: [PATCH] Fix typo "Lastest" => "Latest" --- src/libse/Forms/CheckForUpdatesHelper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libse/Forms/CheckForUpdatesHelper.cs b/src/libse/Forms/CheckForUpdatesHelper.cs index 42ee865f6..81b9f1b60 100644 --- a/src/libse/Forms/CheckForUpdatesHelper.cs +++ b/src/libse/Forms/CheckForUpdatesHelper.cs @@ -51,8 +51,8 @@ namespace Nikse.SubtitleEdit.Core.Forms try { _changeLog = GetStringFromResponse(result); - LatestChangeLog = GetLastestChangeLog(_changeLog); - LatestVersionNumber = GetLastestVersionNumber(LatestChangeLog); + LatestChangeLog = GetLatestChangeLog(_changeLog); + LatestVersionNumber = GetLatestVersionNumber(LatestChangeLog); } catch (Exception exception) { @@ -63,7 +63,7 @@ namespace Nikse.SubtitleEdit.Core.Forms } } - private static string GetLastestVersionNumber(string latestChangeLog) + private static string GetLatestVersionNumber(string latestChangeLog) { foreach (string line in latestChangeLog.Replace(Environment.NewLine, "\n").Split('\n')) { @@ -80,7 +80,7 @@ namespace Nikse.SubtitleEdit.Core.Forms return null; } - private static string GetLastestChangeLog(string changeLog) + private static string GetLatestChangeLog(string changeLog) { bool releaseOn = false; var sb = new StringBuilder();