Skip to content

Commit

Permalink
update auto-upgrader function
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Jun 2, 2017
1 parent 92a1577 commit 6fb81be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DialogTools/AutoUpdateDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ wxString AutoUpdate::CheckUpdate()
}
wxString version = tokenizer.GetNextToken();

wxString version_regex = "^[0-9]\\.[0-9]\\.[0-9]+(\\.[0-9]+)?$";
wxString version_regex = "^[0-9]\\.[0-9]+\\.[0-9]+(\\.[0-9]+)?$";
wxRegEx regex;
regex.Compile(version_regex);
if (!regex.Matches(version)) {
Expand Down

0 comments on commit 6fb81be

Please sign in to comment.