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-30 10:10:28 +0100
commitf47d5784e39c26c45b63fd2451abdafc6447ac1c (patch)
tree325135380be01497d66aea64bc01a6ac1a5886e4
parent6b9a82479ce2bfd7b0b96d04f7d1baa9cded2212 (diff)
downloadpaludis-f47d5784e39c26c45b63fd2451abdafc6447ac1c.tar.gz
paludis-f47d5784e39c26c45b63fd2451abdafc6447ac1c.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 6820f93..28aacbd 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")