Merge pull request #262 from Cyber4/master

Fixed Minor Bug that breaks Reading from files.
This commit is contained in:
Charles Betros 2015-11-17 18:59:33 -06:00
commit 0eee55c987

View file

@ -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;
}
}