summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmXCodeObject.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 6cfb87b..b6c5be2 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -69,6 +69,10 @@ cmXCodeObject::cmXCodeObject(PBXType ptype, Type type)
this->Id += "0";
}
}
+ if(this->Id.size() > 24)
+ {
+ this->Id = this->Id.substr(0,24);
+ }
this->TypeValue = type;
if(this->TypeValue == OBJECT)
{