From: wolf Date: Thu, 8 Sep 2005 23:33:47 +0000 (+0000) Subject: Use the has_documentation flag. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=118a4f25e296a9eb9968654d20b5ed6f044d423f;p=dealii-svn.git Use the has_documentation flag. git-svn-id: https://svn.dealii.org/trunk@11374 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/parameter_handler.cc b/deal.II/base/source/parameter_handler.cc index d84d70c152..c4a1084b98 100644 --- a/deal.II/base/source/parameter_handler.cc +++ b/deal.II/base/source/parameter_handler.cc @@ -915,7 +915,7 @@ ParameterHandler::print_parameters_section (std::ostream &out, // text after this, then add a // comment marker and align it // properly - if ((pd->entries[ptr->first].documentation.length() != 0) + if ((pd->entries[ptr->first].has_documentation()) || (value != pd->entries[ptr->first].value)) out << std::setw(longest_value-value.length()+1) << " "