aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-02 07:44:24 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-02 07:44:24 +0000
commit74881fdb43f351dd2967b9dd38cc3db6eef0c2a5 (patch)
tree1389b74bb8f4b264932febf7b8fb1c0538ab0189
parent2a7972977a6a8be0484eca6935d997ffb607811d (diff)
downloadpaludis-74881fdb43f351dd2967b9dd38cc3db6eef0c2a5.tar.gz
paludis-74881fdb43f351dd2967b9dd38cc3db6eef0c2a5.tar.xz
Fix wonky display when all reasons require reconfiguration
-rwxr-xr-xsrc/clients/cave/cmd_display_resolution.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 597c277..3417d38 100755
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -710,7 +710,8 @@ namespace
cout << fuc(fs_changes_reasons_end());
}
- cout << fuc(fs_reasons());
+ if ((! special_reasons.empty()) || (! reasons.empty()))
+ cout << fuc(fs_reasons());
n_shown = 0;
for (std::set<std::string>::const_iterator r(special_reasons.begin()), r_end(special_reasons.end()) ;