Skip to content

Commit

Permalink
frontend: Fix manifest commit hash comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dsaedtler authored and Lain-B committed Feb 23, 2025
1 parent 70dc224 commit 73725c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/utility/AutoUpdateThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ try {
/* Test or nightly builds may not have a (valid) version number,
* so compare commit hashes instead. */
updateVer = manifest.commit.substr(0, 8);
*updatesAvailable = !currentVersion || !manifest.commit.compare(0, strlen(OBS_COMMIT), OBS_COMMIT);
*updatesAvailable = !currentVersion || manifest.commit.compare(0, strlen(OBS_COMMIT), OBS_COMMIT) != 0;
}

return true;
Expand Down

0 comments on commit 73725c2

Please sign in to comment.