summaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c
index e5560b0..02c8e8d 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -265,6 +265,8 @@ int setting_desc_clone(const setting_desc_t *desc, setting_desc_t **res_desc)
}
}
+ d->random = desc->random;
+
/* TODO: handle allocation errors above... */
*res_desc = d;
© All Rights Reserved