Update src/core/crypto/key_manager.cpp

Co-Authored-By: Jungorend <Jungorend@users.noreply.github.com>
This commit is contained in:
Mat M
2019-02-13 17:26:43 -05:00
committed by GitHub
parent a369dec13b
commit fae3234d09

View File

@@ -402,7 +402,7 @@ void KeyManager::LoadFromFile(const std::string& filename, bool is_title_keys) {
std::string copy(filename);
if (copy.size() != 0 && copy.back() == ':')
copy += DIR_SEP_CHR;
std::wstring utf16 = Common::UTF8ToUTF16W(copy).c_str();
std::wstring utf16 = Common::UTF8ToUTF16W(copy);
std::ifstream file(utf16);
#else
std::ifstream file(filename);