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 /src/lib/update_checker.cc | |
| parent | 8013b7cb5c25e2cd7a879b979cab60e359b507c9 (diff) | |
Fix update checket error when there is no test version.
Diffstat (limited to 'src/lib/update_checker.cc')
| -rw-r--r-- | src/lib/update_checker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
