Skip to content

Commit

Permalink
apt: Use the correct version number when parsing changelogs
Browse files Browse the repository at this point in the history
Resolves: #750
  • Loading branch information
ximion committed May 11, 2024
1 parent 06b0675 commit 50e3cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backends/apt/apt-utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ string fetchChangelogData(AptCacheFile &CacheFile,
// display old changelog information
if (_system != 0 &&
_system->VS->DoCmpVersion(version, version + strlen(version),
currver.VerStr(), currver.VerStr() + strlen(currver.VerStr())) <= 0) {
currver.SourceVerStr(),
currver.SourceVerStr() + strlen(currver.SourceVerStr())) <= 0) {
g_free (version);
break;
} else {
Expand Down

0 comments on commit 50e3cbf

Please sign in to comment.