- fixed windows build

This commit is contained in:
Mark Vejvoda 2012-03-17 03:59:30 +00:00
parent 5584121aa7
commit d222e6a4ba
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ XmlNode *XmlIoRapid::load(const string &path, std::map<string,string> mapTagRepl
try {
#if defined(WIN32) && !defined(__MINGW32__)
FILE *fp = _wfopen(utf8_decode(path).c_str(), L"rb");
ifstream xmlFile(fp,ios::binary);
ifstream xmlFile(fp);
#else
ifstream xmlFile(path.c_str(),ios::binary);
#endif