Skip to content

Commit 4584dc0

Browse files
committed
Fixed displayed version in the About preference tab.
1 parent 04e40b8 commit 4584dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Editor/Preferences/SVNPreferencesWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ private static string GetVersion()
560560

561561
string versionLine = File.ReadAllLines(pathToPackage).Where(l => l.Contains("\"version\": ")).FirstOrDefault();
562562
if (!string.IsNullOrEmpty(versionLine)) {
563-
m_Version = "WiseSVN " + System.Text.RegularExpressions.Regex.Match(versionLine, @"\d\.\d\.\d").Value;
563+
m_Version = "WiseSVN " + System.Text.RegularExpressions.Regex.Match(versionLine, @"\d+\.\d+\.\d+").Value;
564564
return m_Version;
565565
}
566566
}

0 commit comments

Comments
 (0)