diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 19:24:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 19:24:29 +0200 |
commit | 81184b836a6ddbeaca5f85781a052cb36424e37f (patch) | |
tree | 1965bd34b4e351e5148a1412e618555b72330117 /app/bin/dlayer.c | |
parent | 67d0ce65dc6a1d240e271a7cd479b60aa1dc2967 (diff) | |
parent | c1f7a0251136f6327d14a85eb5a761489551b668 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/dlayer.c')
-rw-r--r-- | app/bin/dlayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/bin/dlayer.c b/app/bin/dlayer.c index 71d151e..925b1f8 100644 --- a/app/bin/dlayer.c +++ b/app/bin/dlayer.c @@ -441,7 +441,7 @@ static paramData_t layerPLs[] = { #define I_LIST (0) { PD_DROPLIST, NULL, "layer", PDO_LISTINDEX|PDO_DLGNOLABELALIGN, (void*)250 }, #define I_NAME (1) - { PD_STRING, layerName, "name", PDO_NOPREF, (void*)(250-54), N_("Name") }, + { PD_STRING, layerName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)(250-54), N_("Name"), 0, (void *)sizeof(layerName) }, #define I_COLOR (2) { PD_COLORLIST, &layerColor, "color", PDO_NOPREF, NULL, N_("Color") }, #define I_VIS (3) |