aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-30 09:32:10 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-31 10:18:46 +0100
commit19d3f3b2c92ee8a62a503188ccc84974198eaca9 (patch)
tree29963d7b47e5542f849794c381bdbc919162852d
parent611097d091c19b93c62ac113f50f0aa7899ce2f2 (diff)
downloadpaludis-19d3f3b2c92ee8a62a503188ccc84974198eaca9.tar.gz
paludis-19d3f3b2c92ee8a62a503188ccc84974198eaca9.tar.xz
Don't show empty descriptions
-rw-r--r--src/clients/cave/cmd_display_resolution.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 6820f93ac..28aacbd41 100644
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -482,7 +482,7 @@ namespace
const std::shared_ptr<const PackageID> & id,
const bool is_new)
{
- if (id->short_description_key())
+ if (id->short_description_key() && ! id->short_description_key()->value().empty())
{
bool show(false);
if (cmdline.display_options.a_show_descriptions.argument() == "none")