mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
Merge pull request #262 from Cyber4/master
Fixed Minor Bug that breaks Reading from files.
This commit is contained in:
commit
0eee55c987
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ namespace Cosmos.System.Plugs.System.IO
|
|||
|
||||
public static string GetDirectoryName(string aPath)
|
||||
{
|
||||
FatHelpers.Debug("PathImpl -- GetDirectoryName");
|
||||
if (aPath != null)
|
||||
{
|
||||
CheckInvalidPathChars(aPath, false);
|
||||
|
|
@ -172,6 +173,7 @@ namespace Cosmos.System.Plugs.System.IO
|
|||
|
||||
string result = xPath.Substring(0, xNum);
|
||||
FatHelpers.Debug("-- Path.GetDirectoryName : aPath = " + aPath + ", result = " + result + " --");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue