mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
Merge pull request #5837 from ivandrofly/feature/method-name-typo
Fix typo "Lastest" => "Latest"
This commit is contained in:
commit
bc81b68597
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user