diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:13 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:13 +0200 |
commit | 265d6934cd70a60228e7a11cfc000aff73dd4701 (patch) | |
tree | 610eb753fea70e7f407e751e22697fc8a1ec04bd /app/bin/cmisc.c | |
parent | bd8c21a35fd05fcbdaa95e4c0b7c94c3b97507b6 (diff) | |
parent | 359b557176b9bb2ff1aed2082641eed39c358d0d (diff) |
Update upstream source from tag 'upstream/5.1.2a'
Update to upstream version '5.1.2a'
with Debian dir 4d0d8239e41bb5de5dc968c2a5c6eb9c140bb2f3
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); |