Fix ambiguous test in AccountInformation.set_special_folder

This commit is contained in:
Michael Gratton 2019-01-14 18:05:20 +11:00 committed by Michael James Gratton
parent e1fd9daa83
commit 1ed0f5acbf

View file

@ -437,8 +437,9 @@ public class Geary.AccountInformation : BaseObject {
break;
}
if (old_path == null && new_path != null ||
old_path != null && !old_path.equal_to(new_path)) {
if ((old_path == null && new_path != null) ||
(old_path != null && new_path == null) ||
(old_path != null && !old_path.equal_to(new_path))) {
changed();
}
}