From eb40226852118f6b24b594c307a6e12b369ceb04 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 18 Apr 2016 21:11:59 +0200 Subject: Set fallback value for textarea rows to 3. --- dw/fltkui.cc | 3 +++ src/form.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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("