mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Convert many of the now-deprecated plString::Format calls to plFormat
This commit is contained in:
@ -570,7 +570,7 @@ void plFontConverter::IBatchFreeType(const plFileName &path, void *init)
|
||||
|
||||
fFont->SetFace(fontName);
|
||||
plFileName fileName = plFileName::Join(destPath,
|
||||
plString::Format("%s-%d.p2f", fFont->GetFace().c_str(), fFont->GetSize()));
|
||||
plFormat("{}-{}.p2f", fFont->GetFace(), fFont->GetSize()));
|
||||
hsUNIXStream stream;
|
||||
if (!stream.Open(fileName, "wb"))
|
||||
QMessageBox::critical(this, tr("ERROR"), tr("Can't open file for writing"));
|
||||
|
Reference in New Issue
Block a user