Skip to content

Commit 50454ad

Browse files
committed
Update Options.cs
1 parent 2276c3a commit 50454ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Menu/Options.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ void buttonOK_Click(object sender, EventArgs e)
544544
/// </summary>
545545
private string GetValidWindowSize(string text)
546546
{
547-
var match = Regex.Match(text, @"^\s*([1-9]\d{2,3})\s*[Xx]\s*([1-]\d{2,3})\s*$");//capturing 2 groups of 3-4digits, separated by X or x, ignoring whitespace in beginning/end and in between
547+
var match = Regex.Match(text, @"^\s*([1-9]\d{2,3})\s*[Xx]\s*([1-9]\d{2,3})\s*$");//capturing 2 groups of 3-4digits, separated by X or x, ignoring whitespace in beginning/end and in between
548548
if (match.Success)
549549
{
550550
return $"{match.Groups[1]}x{match.Groups[2]}";

0 commit comments

Comments
 (0)