1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Fix the rest of the plString::Format calls

This commit is contained in:
2014-05-28 18:49:50 -07:00
parent fb8c81b587
commit 5c6b6bbc7c
16 changed files with 64 additions and 59 deletions

View File

@ -437,14 +437,14 @@ plString plSimpleStateVariable::GetAsString(int idx) const
else if (type==plVarDescriptor::kByte)
str << fBy[i++];
else if (type==plVarDescriptor::kFloat || type==plVarDescriptor::kAgeTimeOfDay)
str << plString::Format( "%.3f", fF[i++]);
str << plFormat("{.3f}", fF[i++]);
else if (type==plVarDescriptor::kDouble)
str << plString::Format( "%.3f", fD[i++]);
str << plFormat("{.3f}", fD[i++]);
else if (type==plVarDescriptor::kTime)
{
double tmp;
Get(&tmp, i++);
str << plString::Format( "%.3f", tmp);
str << plFormat("{.3f}", tmp);
}
if (j==fVar.GetAtomicCount()-1)