Remove newlines from mesh/material error logs

stable-5.2
Armin Burgmeier 2010-01-02 03:49:14 +01:00
parent 1682dc3f78
commit fbc6b6596a
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ bool C4DefGraphics::LoadMesh(C4Group &hGroup, StdMeshSkeletonLoader& loader)
}
catch(const StdMeshError& ex)
{
DebugLogF("Failed to load mesh: %s\n", ex.what());
DebugLogF("Failed to load mesh: %s", ex.what());
result = false;
}
@ -211,7 +211,7 @@ bool C4DefGraphics::Load(C4Group &hGroup, bool fColorByOwner)
}
catch(const StdMeshMaterialError& ex)
{
DebugLogF("Failed to read material script: %s\n", ex.what());
DebugLogF("Failed to read material script: %s", ex.what());
}
}
}