diff options
Diffstat (limited to 'app/bin/cselect.c')
-rw-r--r-- | app/bin/cselect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/bin/cselect.c b/app/bin/cselect.c index 861f03f..ac1e13b 100644 --- a/app/bin/cselect.c +++ b/app/bin/cselect.c @@ -578,9 +578,9 @@ static paramData_t rescalePLs[] = { #define I_RESCALE_MODE (0) { PD_RADIO, &rescaleMode, "toggle", PDO_NOPREF, &rescaleToggleLabels, N_("Rescale by:"), BC_HORZ|BC_NOBORDER }, #define I_RESCALE_FROM_SCALE (1) - { PD_STRING, rescaleFromScale, "fromS", PDO_NOPREF, (void *)100, N_("From:") }, + { PD_STRING, rescaleFromScale, "fromS", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void *)100, N_("From:"),0, (void *)sizeof(rescaleFromScale) }, #define I_RESCALE_FROM_GAUGE (2) - { PD_STRING, rescaleFromGauge, "fromG", PDO_NOPREF|PDO_DLGHORZ, (void *)100, " / " }, + { PD_STRING, rescaleFromGauge, "fromG", PDO_NOPREF|PDO_DLGHORZ | PDO_STRINGLIMITLENGTH, (void *)100, " / ", 0, (void *)sizeof(rescaleFromGauge) }, #define I_RESCALE_TO_SCALE (3) { PD_DROPLIST, &rescaleToScaleInx, "toS", PDO_NOPREF|PDO_LISTINDEX, (void *)100, N_("To: ") }, #define I_RESCALE_TO_GAUGE (4) |