Skip to content

Commit

Permalink
Merge pull request #2366 from Miepee/patch-2
Browse files Browse the repository at this point in the history
Fix grammar error in string->filefilter operator exception
  • Loading branch information
cwensley committed Jan 9, 2023
2 parents a642cd2 + bb9e3eb commit f19b13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eto/Forms/FileFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;

namespace Eto.Forms
Expand Down Expand Up @@ -73,7 +73,7 @@ public override int GetHashCode()
{
var parts = filter.Split('|');
if (parts.Length != 2)
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Filter must be in the form of '<name>|<ext>;<ext>;<ext>;"), nameof(filter));
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Filter must be in the form of '<name>|<ext>;<ext>;<ext>;'"), nameof(filter));

return new FileFilter
{
Expand Down

0 comments on commit f19b13b

Please sign in to comment.