summaryrefslogtreecommitdiff
path: root/app/bin/dlayer.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-27 14:58:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-27 14:58:13 +0200
commit265d6934cd70a60228e7a11cfc000aff73dd4701 (patch)
tree610eb753fea70e7f407e751e22697fc8a1ec04bd /app/bin/dlayer.c
parentbd8c21a35fd05fcbdaa95e4c0b7c94c3b97507b6 (diff)
parent359b557176b9bb2ff1aed2082641eed39c358d0d (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/dlayer.c')
-rw-r--r--app/bin/dlayer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/bin/dlayer.c b/app/bin/dlayer.c
index 925b1f8..70f613f 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|PDO_STRINGLIMITLENGTH, (void*)(250-54), N_("Name"), 0, (void *)sizeof(layerName) },
+ { PD_STRING, layerName, "name", PDO_NOPREF|PDO_STRINGLIMITLENGTH, (void*)(250-54), N_("Name"), 0, 0, sizeof(layerName) },
#define I_COLOR (2)
{ PD_COLORLIST, &layerColor, "color", PDO_NOPREF, NULL, N_("Color") },
#define I_VIS (3)
@@ -545,7 +545,7 @@ static void DoLayerOp(void * data)
UpdateLayerDlg();
if (layoutLayerChanged) {
- MainProc(mainW, wResize_e, NULL);
+ MainProc(mainW, wResize_e, NULL, NULL);
layoutLayerChanged = FALSE;
changed = TRUE;
SetWindowTitle();
@@ -773,7 +773,7 @@ DefaultLayerProperties(void)
UpdateLayerDlg();
if (layoutLayerChanged) {
- MainProc(mainW, wResize_e, NULL);
+ MainProc(mainW, wResize_e, NULL, NULL);
layoutLayerChanged = FALSE;
}
}
@@ -992,7 +992,7 @@ static void LayerOk(void * junk)
}
if (layoutLayerChanged) {
- MainProc(mainW, wResize_e, NULL);
+ MainProc(mainW, wResize_e, NULL, NULL);
}
wHide(layerW);