소스 검색

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;