diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2015-04-09 08:48:33 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2015-04-17 19:50:05 (GMT) |
commit | a6331eb851c132d3d0496e738886ad76e13a92a0 (patch) | |
tree | 8a32172d36694634e8452e5d80d72d5b3ec8423f /Source/cmXCodeObject.cxx | |
parent | 6e8952c19385acb0ff9f58c2a462d91dd0624e05 (diff) | |
download | CMake-a6331eb851c132d3d0496e738886ad76e13a92a0.zip CMake-a6331eb851c132d3d0496e738886ad76e13a92a0.tar.gz CMake-a6331eb851c132d3d0496e738886ad76e13a92a0.tar.bz2 |
Xcode: Let PrintComment decide if the comment is non-empty
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r-- | Source/cmXCodeObject.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx index e41f282..b9c41f3 100644 --- a/Source/cmXCodeObject.cxx +++ b/Source/cmXCodeObject.cxx @@ -99,10 +99,7 @@ void cmXCodeObject::Print(std::ostream& out) indentFactor = 0; } out << this->Id; - if(!(this->IsA == PBXGroup && this->Comment.size() == 0)) - { - this->PrintComment(out); - } + this->PrintComment(out); out << " = {"; if(separator == "\n") { |