summaryrefslogtreecommitdiff
path: root/app/bin/csignal.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-05 19:24:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-05 19:24:29 +0200
commit81184b836a6ddbeaca5f85781a052cb36424e37f (patch)
tree1965bd34b4e351e5148a1412e618555b72330117 /app/bin/csignal.c
parent67d0ce65dc6a1d240e271a7cd479b60aa1dc2967 (diff)
parentc1f7a0251136f6327d14a85eb5a761489551b668 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/csignal.c')
-rw-r--r--app/bin/csignal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/bin/csignal.c b/app/bin/csignal.c
index 2f02e58..05ec789 100644
--- a/app/bin/csignal.c
+++ b/app/bin/csignal.c
@@ -481,7 +481,7 @@ static paramFloatRange_t r_1000_1000 = { -1000.0, 1000.0, 80 };
static paramFloatRange_t r0_360 = { 0.0, 360.0, 80 };
static paramData_t signalEditPLs[] = {
#define I_SIGNALNAME (0)
- /*0*/ { PD_STRING, signalEditName, "name", PDO_NOPREF, (void*)200, N_("Name") },
+ /*0*/ { PD_STRING, signalEditName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)200, N_("Name"), 0, (void *)sizeof(signalEditName) },
#define I_ORIGX (1)
/*1*/ { PD_FLOAT, &signalEditOrig.x, "origx", PDO_DIM, &r_1000_1000, N_("Orgin X") },
#define I_ORIGY (2)
@@ -507,9 +507,9 @@ static paramIntegerRange_t rm1_999999 = { -1, 999999 };
static paramData_t aspectEditPLs[] = {
#define I_ASPECTNAME (0)
- /*0*/ { PD_STRING, signalAspectEditName, "name", PDO_NOPREF, (void*)200, N_("Name") },
+ /*0*/ { PD_STRING, signalAspectEditName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)200, N_("Name"), 0, (void *)sizeof(signalAspectEditName) },
#define I_ASPECTSCRIPT (1)
- /*1*/ { PD_STRING, signalAspectEditScript, "script", PDO_NOPREF, (void*)350, N_("Script") },
+ /*1*/ { PD_STRING, signalAspectEditScript, "script", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)350, N_("Script"), 0, (void *)sizeof(signalAspectEditScript) },
#define I_ASPECTINDEX (2)
/*2*/ { PD_LONG, &signalAspectEditIndex, "index", PDO_NOPREF, &rm1_999999, N_("Aspect Index"), BO_READONLY },
};