Fixed dumb misspelled comment

git-svn-id: file:///srv/devel/repo-conversion/nusu@74 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2008-06-04 20:04:32 +00:00
parent bf5c8d4e19
commit 73ef5de576

View File

@ -36,8 +36,8 @@ namespace Nuclex.Support {
if(lastCommonRoot == -1) if(lastCommonRoot == -1)
return absolutePath; return absolutePath;
// Calculate the required length for the StrinBuilder to be slightly more // Calculate the required length for the StringBuilder in order to be slightly
// friendly in terms of memory usage. // more friendly in terms of memory usage.
int requiredLength = (baseDirectories.Length - (lastCommonRoot + 1)) * 3; int requiredLength = (baseDirectories.Length - (lastCommonRoot + 1)) * 3;
for(int index = lastCommonRoot + 1; index < absoluteDirectories.Length; ++index) for(int index = lastCommonRoot + 1; index < absoluteDirectories.Length; ++index)
requiredLength += absoluteDirectories[index].Length + 1; requiredLength += absoluteDirectories[index].Length + 1;