diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2015-04-07 18:47:10 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2015-04-17 19:50:04 (GMT) |
commit | 5cb4c8380d9a0f5922a2eed60f6a1fd1274e9141 (patch) | |
tree | ea4f7ac34783cde0d75390c79b0daf892a895274 /Source/cmXCodeObject.cxx | |
parent | a723427b6450c1ec77226fb58aa3070a341891a2 (diff) | |
download | CMake-5cb4c8380d9a0f5922a2eed60f6a1fd1274e9141.zip CMake-5cb4c8380d9a0f5922a2eed60f6a1fd1274e9141.tar.gz CMake-5cb4c8380d9a0f5922a2eed60f6a1fd1274e9141.tar.bz2 |
Xcode: Properly indent PBXFileReference and PBXBuildFile
Move indent factor change behind indention of start-of-line.
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r-- | Source/cmXCodeObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx index 33ce8cc..519545a 100644 --- a/Source/cmXCodeObject.cxx +++ b/Source/cmXCodeObject.cxx @@ -91,13 +91,13 @@ void cmXCodeObject::Print(std::ostream& out) { std::string separator = "\n"; int indentFactor = 1; + cmXCodeObject::Indent(2*indentFactor, out); if(this->Version > 15 && (this->IsA == PBXFileReference || this->IsA == PBXBuildFile)) { separator = " "; indentFactor = 0; } - cmXCodeObject::Indent(2*indentFactor, out); out << this->Id << " "; if(!(this->IsA == PBXGroup && this->Comment.size() == 0)) { |