Mercurial > hg > orthanc-gcp
comparison Plugin/Plugin.cpp @ 28:2999ab4323fe
typo bis
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Feb 2020 13:52:59 +0100 |
parents | 7f9e8d8ee90b |
children | acfe1ea3206b |
comparison
equal
deleted
inserted
replaced
27:7f9e8d8ee90b | 28:2999ab4323fe |
---|---|
66 try | 66 try |
67 { | 67 { |
68 int major = boost::lexical_cast<int>(tokens[0]); | 68 int major = boost::lexical_cast<int>(tokens[0]); |
69 int minor = boost::lexical_cast<int>(tokens[1]); | 69 int minor = boost::lexical_cast<int>(tokens[1]); |
70 | 70 |
71 ok = (major >= 1 || | 71 ok = (major >= 2 || |
72 (major == 0 && minor >= 7)); | 72 (major == 1 && minor >= 0)); |
73 } | 73 } |
74 catch (boost::bad_lexical_cast&) | 74 catch (boost::bad_lexical_cast&) |
75 { | 75 { |
76 ok = false; | 76 ok = false; |
77 } | 77 } |