1
0
forked from Mirror/wren

Fixed compiling error of cli on Windows

This commit is contained in:
kai
2019-02-19 15:14:53 +08:00
parent 1ec0b649c1
commit c58e51fa96

View File

@ -75,7 +75,7 @@ static size_t absolutePrefixLength(const char* path)
// Drive letter.
if (isDriveLetter(path[0]) && path[1] == ':')
{
if (isSeparator(path->chars[2]))
if (isSeparator(path[2]))
{
// Fully absolute path.
return 3;