Skip to content

Commit 940ae85

Browse files
perpetualKidYoRyan
andauthored
Update Source/Menu/Options.cs
Co-authored-by: Ryan Young <ryan@youngryan.com>
1 parent 50454ad commit 940ae85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Menu/Options.cs

Lines changed: 2 additions & 2 deletions
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-9]\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]}";
@@ -760,4 +760,4 @@ private void checkPerformanceTuner_Click(object sender, EventArgs e)
760760
}
761761

762762
}
763-
}
763+
}

0 commit comments

Comments
 (0)