Преглед на файлове

Fixed @bdisp noted error

Tig преди 1 година
родител
ревизия
ee57f41b9f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Terminal.Gui/Text/TextFormatter.cs

+ 1 - 1
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;