diff options
-rw-r--r-- | dw/fltkui.cc | 3 | ||||
-rw-r--r-- | src/form.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index 09965ea7..712b914f 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -1040,6 +1040,9 @@ FltkMultiLineTextResource::FltkMultiLineTextResource (FltkPlatform *platform, numCols = cols; numRows = rows; + DBG_OBJ_SET_NUM ("numCols", numCols); + DBG_OBJ_SET_NUM ("numRows", numRows); + // Check values. Upper bound check is left to the caller. if (numCols < 1) { MSG_WARN("numCols = %d is set to 1.\n", numCols); diff --git a/src/form.cc b/src/form.cc index 8c966ff2..af219000 100644 --- a/src/form.cc +++ b/src/form.cc @@ -659,7 +659,7 @@ void Html_tag_content_textarea(DilloHtml *html, const char *tag, int tagsize) } else { if (html->DocType != DT_HTML || html->DocTypeVersion <= 4.01f) BUG_MSG("<textarea> requires rows attribute."); - rows = 2; + rows = 3; } if (rows < 1 || rows > MAX_ROWS) { int badRows = rows; |