Fixed: fully qualify the path
This commit is contained in:
parent
4d86f6449b
commit
03fb7c20b4
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace arookas {
|
||||||
string CurrentDirectory {
|
string CurrentDirectory {
|
||||||
get {
|
get {
|
||||||
if (mFiles.Count > 0) {
|
if (mFiles.Count > 0) {
|
||||||
return Path.GetDirectoryName(mFiles.Peek().Name);
|
return Path.Combine(mCurrentDirectory, Path.GetDirectoryName(mFiles.Peek().Name));
|
||||||
}
|
}
|
||||||
return mCurrentDirectory;
|
return mCurrentDirectory;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue