From ee57f41b9fb52775d74977df75795ffe1207e37d Mon Sep 17 00:00:00 2001 From: Tig Date: Fri, 19 Jul 2024 15:42:04 -0600 Subject: [PATCH] Fixed @bdisp noted error --- Terminal.Gui/Text/TextFormatter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Terminal.Gui/Text/TextFormatter.cs b/Terminal.Gui/Text/TextFormatter.cs index ea0c35924..710ed52bd 100644 --- a/Terminal.Gui/Text/TextFormatter.cs +++ b/Terminal.Gui/Text/TextFormatter.cs @@ -715,7 +715,7 @@ public class TextFormatter if (value < 0) { - throw new ArgumentOutOfRangeException (nameof (Width), value, @"Must be greater than or equal to 0."); + throw new ArgumentOutOfRangeException (nameof (Height), value, @"Must be greater than or equal to 0."); } _height = value;