diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
commit | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (patch) | |
tree | 8645f5abd7b89361a1c5ab67e0195c84bc2ceab0 /app/bin/cmisc.c | |
parent | c2b8ba9336499ac930802e957f0d150399f3191e (diff) | |
parent | abf57604846230dc26afe8011aefb8e7bcc34333 (diff) |
Merge debian/watchdebian/1_5.1.2a-1
Diffstat (limited to 'app/bin/cmisc.c')
-rw-r--r-- | app/bin/cmisc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/bin/cmisc.c b/app/bin/cmisc.c index 4822540..a353530 100644 --- a/app/bin/cmisc.c +++ b/app/bin/cmisc.c @@ -347,6 +347,10 @@ static wControl_p AllocateButt(descData_p ddp, void * valueP, char * label, describeW_posy += wControlGetHeight(describePLs[inx].control) + sep; describePLs[inx].context = ddp; describePLs[inx].valueP = valueP; + if ((ddp->type == DESC_STRING) && ddp->max_string) { + describePLs[inx].max_string = ddp->max_string; + describePLs[inx].option |= PDO_STRINGLIMITLENGTH; + } if (label && ddp->type != DESC_TEXT) { wControlSetLabel(describePLs[inx].control, label); |