Fix character replacement for non-windows platforms.
This commit is contained in:
parent
f2ea02ae0b
commit
2b16e86c7b
3 changed files with 101 additions and 61 deletions
|
|
@ -101,7 +101,7 @@ namespace LibationWinForms.Dialogs
|
|||
{
|
||||
dataGridView1.Rows[e.RowIndex].ErrorText = $"The {charToReplaceStr[0]} character is already being replaced";
|
||||
}
|
||||
else if (ReplacementCharacters.ContainsInvalidPathChar(replacement))
|
||||
else if (ReplacementCharacters.ContainsInvalidFilenameChar(replacement))
|
||||
{
|
||||
dataGridView1.Rows[e.RowIndex].ErrorText = $"Your {replacementStringCol.HeaderText} contains illegal characters";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue