Commit 25a70ad8 authored by deuce's avatar deuce
Browse files

isfullpath() should not return true for "\0:" or "$:"... the first char

must be a letter if the second char is a colon.
parent a47a547b
......@@ -1032,7 +1032,7 @@ BOOL DLLCALL isfullpath(const char* filename)
{
return(filename[0]=='/'
#ifdef WIN32
|| filename[0]=='\\' || filename[1]==':'
|| filename[0]=='\\' || (isalpha(filename[0] && filename[1]==':')
#endif
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment