mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-10 16:48:22 -04:00
Fix typos
This commit is contained in:
@@ -241,7 +241,7 @@ public class ReplacementCharacters
|
||||
|
||||
if (CharIsPathInvalid(c)
|
||||
|| invalidSlashes.Contains(c)
|
||||
|| Replacements.Any(r => r.CharacterToReplace == c) /* Replace any other legal characters that they user wants. */ )
|
||||
|| Replacements.Any(r => r.CharacterToReplace == c) /* Replace any other legal characters that the user wants. */)
|
||||
{
|
||||
char preceding = i > 0 ? fileName[i - 1] : default;
|
||||
char succeeding = i < fileName.Length - 1 ? fileName[i + 1] : default;
|
||||
@@ -265,7 +265,7 @@ public class ReplacementCharacters
|
||||
if (
|
||||
(
|
||||
CharIsPathInvalid(c)
|
||||
|| ( // Replace any other legal characters that they user wants.
|
||||
|| ( // Replace any other legal characters that the user wants.
|
||||
c != Path.DirectorySeparatorChar
|
||||
&& c != Path.AltDirectorySeparatorChar
|
||||
&& Replacements.Any(r => r.CharacterToReplace == c)
|
||||
|
||||
Reference in New Issue
Block a user