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

Add plPrintf - a cstdio-directed version of plFormat

This commit is contained in:
2014-05-25 00:34:11 -07:00
parent 3892a84f52
commit bf5623224c
5 changed files with 39 additions and 26 deletions

View File

@ -108,12 +108,12 @@ void EncryptFiles(const plFileName& dir, const char* ext, bool encrypt)
{
if (encrypt)
{
printf("encrypting: %s\n", iter->GetFileName().c_str());
plPrintf("encrypting: {}\n", iter->GetFileName());
plEncryptedStream::FileEncrypt(*iter);
}
else
{
printf("decrypting: %s\n", iter->GetFileName().c_str());
{
plPrintf("decrypting: {}\n", iter->GetFileName());
plEncryptedStream::FileDecrypt(*iter);
}
}