Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment