mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 14:09:38 +08:00
Add a . to an empty path to make a relative path, before the initial /
is added. svn path=/branches/xmlbuildsystem/; revision=13393
This commit is contained in:
@@ -187,7 +187,7 @@ Path::RelativeFromWorkingDirectory ( const string& path )
|
||||
#ifdef WIN32
|
||||
if ( i ) out += "/";
|
||||
#else
|
||||
out += "/";
|
||||
out += out.size() ? "/" : "./";
|
||||
#endif
|
||||
out += vout[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user