fix string to char * conversion

This commit is contained in:
Abdullah Tahiri
2018-03-16 21:05:01 +01:00
committed by wmayer
parent b82d393b8c
commit aa010488fb

View File

@@ -4448,7 +4448,7 @@ int SketchObject::carbonCopy(App::DocumentObject * pObj, bool construction)
int i=0;
for (auto & obj : Objects){
if (obj == sobj && SubElements[i] == sSubElements[si]){
Base::Console().Error("Link to %s already exists in this sketch. Delete the link and try again\n",sSubElements[si]);
Base::Console().Error("Link to %s already exists in this sketch. Delete the link and try again\n",sSubElements[si].c_str());
return -1;
}