Skip to content

Commit

Permalink
Fix comparison of versions between xxxx.xx.x and xxxx.xx
Browse files Browse the repository at this point in the history
  • Loading branch information
keithsw1111 committed Apr 9, 2023
1 parent 68be6e4 commit 9215d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xLights/UtilFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,9 @@ bool IsVersionOlder(const std::string &compare, const std::string &version)
{
if (version_parts.Count() > 2)
{
return true;
return false; // remote version has 2 components but local has three so local must be newer
}
return false;
return true;
}
else
{
Expand Down

0 comments on commit 9215d94

Please sign in to comment.