Fixed: fully qualify the path

This commit is contained in:
arookas 2016-02-01 06:21:01 -05:00
parent 4d86f6449b
commit 03fb7c20b4

View file

@ -22,7 +22,7 @@ namespace arookas {
string CurrentDirectory {
get {
if (mFiles.Count > 0) {
return Path.GetDirectoryName(mFiles.Peek().Name);
return Path.Combine(mCurrentDirectory, Path.GetDirectoryName(mFiles.Peek().Name));
}
return mCurrentDirectory;
}