diff options
| -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; } |
