diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-10-09 13:55:42 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-10-09 13:55:42 (GMT) |
commit | 18ce24c7486fedc792276721515c9ddefc62ebee (patch) | |
tree | 527cfa357957b02432cdabea88c918948ac6f37a /Source/cmPropertyDefinition.cxx | |
parent | b02cbf5fadd70bf173882a1eca94e1d74d640248 (diff) | |
download | CMake-18ce24c7486fedc792276721515c9ddefc62ebee.zip CMake-18ce24c7486fedc792276721515c9ddefc62ebee.tar.gz CMake-18ce24c7486fedc792276721515c9ddefc62ebee.tar.bz2 |
ENH: make documentation entries actually store their data
Diffstat (limited to 'Source/cmPropertyDefinition.cxx')
-rw-r--r-- | Source/cmPropertyDefinition.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmPropertyDefinition.cxx b/Source/cmPropertyDefinition.cxx index 3acd184..e573fa3 100644 --- a/Source/cmPropertyDefinition.cxx +++ b/Source/cmPropertyDefinition.cxx @@ -22,8 +22,8 @@ cmDocumentationEntry cmPropertyDefinition::GetDocumentation() const cmDocumentationEntry e; e.name = this->Name.c_str(); e.brief = - this->ShortDescription.size() ? this->ShortDescription.c_str() : 0; - e.full = this->FullDescription.size() ? this->FullDescription.c_str() : 0; + this->ShortDescription.size() ? this->ShortDescription.c_str() : ""; + e.full = this->FullDescription.size() ? this->FullDescription.c_str() : ""; return e; } |