Fix error when adding third account. Bug 779048.
Patch courtesy of Rafał Masternak <rafdev@muub.net>
This commit is contained in:
parent
6eac43b2e7
commit
d4a95fa287
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ public class Geary.Engine : BaseObject {
|
|||
string? last_account = this.accounts.keys.fold<string?>((next, last) => {
|
||||
string? result = last;
|
||||
if (next.has_prefix(ID_PREFIX)) {
|
||||
result = (last == null || strcmp(last, next) > 0) ? next : last;
|
||||
result = (last == null || strcmp(last, next) < 0) ? next : last;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue