Fix a typo

This commit is contained in:
ChsBuffer
2021-03-21 01:48:44 +08:00
parent 77376502b7
commit c69c40750a

View File

@@ -200,7 +200,7 @@ namespace Netch.Forms.Mode
list.AddRange(Directory.GetFiles(directory).Select(Path.GetFileName).Where(s => s.EndsWith(".exe")).Select(s => s.ToRegexString()));
if (maxCount != 0 && list.Count > maxCount)
throw new Exception("The number of filter results is greater than maxCount");
throw new Exception("The number of results is greater than maxCount");
}
private void ValidationButton_Click(object sender, EventArgs e)