Fixed dumb misspelled comment
git-svn-id: file:///srv/devel/repo-conversion/nusu@74 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
bf5c8d4e19
commit
73ef5de576
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user