瀏覽代碼

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;