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;