aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-04-18 21:11:59 +0200
committerSebastian Geerken <devnull@localhost>2016-04-18 21:11:59 +0200
commiteb40226852118f6b24b594c307a6e12b369ceb04 (patch)
tree39d2432774be7ead0671bb32d7c8f4cd72c214b7 /dw/fltkui.cc
parent504f461ee2d4ec9cc3409cd905fa5c4e27544942 (diff)
Set fallback value for textarea rows to 3.
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc3
1 files changed, 3 insertions, 0 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);