Browse Source

fix crash in plFileSecure

Christopher Schmidt 12 years ago
parent
commit
a392d8463c
  1. 2
      Sources/Plasma/Apps/plFileSecure/main.cpp

2
Sources/Plasma/Apps/plFileSecure/main.cpp

@ -110,7 +110,7 @@ void SecureFiles(const plFileName& dir, const plString& ext, uint32_t* key)
std::vector<plFileName> files = plFileSystem::ListDir(dir, ext.c_str());
for (auto iter = files.begin(); iter != files.end(); ++iter)
{
printf("securing: %s\n", iter->GetFileName());
printf("securing: %s\n", iter->GetFileName().c_str());
plSecureStream::FileEncrypt(*iter, key);
}
}

Loading…
Cancel
Save