mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Deprecate and remove xtl::format in favor of plString::Format
This commit is contained in:
@ -358,9 +358,9 @@ const char * plAgeInfoStruct::GetDisplayName() const
|
||||
{
|
||||
int seq = GetAgeSequenceNumber();
|
||||
if ( seq>0 )
|
||||
xtl::format( fDisplayName, "%s(%d) %s", GetAgeUserDefinedName(), seq, GetAgeInstanceName() );
|
||||
fDisplayName = plString::Format( "%s(%d) %s", GetAgeUserDefinedName(), seq, GetAgeInstanceName() );
|
||||
else
|
||||
xtl::format( fDisplayName, "%s %s", GetAgeUserDefinedName(), GetAgeInstanceName() );
|
||||
fDisplayName = plString::Format( "%s %s", GetAgeUserDefinedName(), GetAgeInstanceName() );
|
||||
return fDisplayName.c_str();
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,8 @@ class plAgeInfoStruct : public plCreatable
|
||||
// The language of the client that created this age
|
||||
int32_t fAgeLanguage;
|
||||
|
||||
mutable std::string fDisplayName;
|
||||
// Evil (TODO: Nuke this)
|
||||
mutable plString fDisplayName;
|
||||
|
||||
enum
|
||||
{
|
||||
|
Reference in New Issue
Block a user