diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-24 22:45:53 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-24 22:46:05 +0000 |
| commit | 3d15e81de19a57eb8c6a308e00ea07c542068b58 (patch) | |
| tree | a7fa05a3e302242b162604828393b45d50ea19b2 | |
| parent | 8013b7cb5c25e2cd7a879b979cab60e359b507c9 (diff) | |
Fix update checket error when there is no test version.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | src/lib/update_checker.cc | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2018-03-24 Carl Hetherington <cth@carlh.net> + * Fix update checker error when there is no test + version. + * Updated fr_FR translation from Thierry Journet. 2018-03-22 Carl Hetherington <cth@carlh.net> diff --git a/src/lib/update_checker.cc b/src/lib/update_checker.cc index 99060016f..6309caabe 100644 --- a/src/lib/update_checker.cc +++ b/src/lib/update_checker.cc @@ -161,7 +161,7 @@ UpdateChecker::thread () _stable = stable; } - if (version_less_than (dcpomatic_version, test)) { + if (!test.empty() && version_less_than (dcpomatic_version, test)) { _test = test; } |
