Fixed: Opening local file with @ char in filename.
--HG-- branch : develop
This commit is contained in:
parent
19e1b47ddb
commit
edf1d12f65
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ bool CIFile::open(const std::string &path, bool text)
|
||||||
|
|
||||||
// Bigfile or xml pack access requested ?
|
// Bigfile or xml pack access requested ?
|
||||||
string::size_type pos;
|
string::size_type pos;
|
||||||
if ((pos = path.find('@')) != string::npos)
|
if (!CFile::fileExists(path) && (pos = path.find('@')) != string::npos)
|
||||||
{
|
{
|
||||||
// check for a double @ to identify XML pack file
|
// check for a double @ to identify XML pack file
|
||||||
if (pos+1 < path.size() && path[pos+1] == '@')
|
if (pos+1 < path.size() && path[pos+1] == '@')
|
||||||
|
|
Loading…
Reference in a new issue