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:27 +0000 |
| commit | 85176cead21efe9667441800912d7aeedb9cf1d2 (patch) | |
| tree | f1709e31f95abc9cef418b2ebd53c8c296bf9830 | |
| parent | 996490159c49a5a5a74be02c76fd5855cd441e49 (diff) | |
Fix update checker 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 8aeca030b..6292d83d7 100644 --- a/src/lib/update_checker.cc +++ b/src/lib/update_checker.cc @@ -158,7 +158,7 @@ UpdateChecker::thread () _stable = stable; } - if (version_less_than (dcpomatic_version, test)) { + if (!test.empty() && version_less_than (dcpomatic_version, test)) { _test = test; } |
