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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user