mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 10:15:05 +01:00
Fix for paths starting with // or \\ in windows
This commit is contained in:
parent
b4f1cb259e
commit
af820bffb3
@ -305,9 +305,11 @@ std::string Configuration::convertToAbsolutePath(std::string prefix, std::string
|
||||
}
|
||||
|
||||
// check to see if it is already an absolute path
|
||||
if((first != Utils::pathSeparator) &&
|
||||
//(first != '.') &&
|
||||
(second != ':'))
|
||||
#ifdef WIN32
|
||||
if((first != '\\') && (first != '/') && (second != ':'))
|
||||
#else
|
||||
if(first != Utils::pathSeparator)
|
||||
#endif
|
||||
{
|
||||
path = Utils::combinePath(prefix, path);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user