Windows fix

This commit is contained in:
Jack Andersen 2017-01-26 16:27:41 -10:00
parent d2e080a515
commit 8f8edbbf16
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ public:
: m_overwrite(overwrite), m_globalErr(globalErr)
{
#if _WIN32
m_filename = utility::utf8ToWide(m_filename);
m_filename = utility::utf8ToWide(filename);
#else
m_filename = filename;
#endif

View File

@ -17,7 +17,7 @@ FileWriter::FileWriter(const std::string& filename, bool overwrite, bool globalE
m_globalErr(globalErr)
{
#if _WIN32
m_filename = utility::utf8ToWide(m_filename);
m_filename = utility::utf8ToWide(filename);
#else
m_filename = filename;
#endif