Skip to content

Commit 73725c2

Browse files
dsaedtlerLain-B
authored andcommitted
frontend: Fix manifest commit hash comparison
1 parent 70dc224 commit 73725c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/utility/AutoUpdateThread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ try {
8484
/* Test or nightly builds may not have a (valid) version number,
8585
* so compare commit hashes instead. */
8686
updateVer = manifest.commit.substr(0, 8);
87-
*updatesAvailable = !currentVersion || !manifest.commit.compare(0, strlen(OBS_COMMIT), OBS_COMMIT);
87+
*updatesAvailable = !currentVersion || manifest.commit.compare(0, strlen(OBS_COMMIT), OBS_COMMIT) != 0;
8888
}
8989

9090
return true;

0 commit comments

Comments
 (0)