about summary refs log tree commit diff
path: root/editor/specialty/pampaintspill.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/specialty/pampaintspill.c')
-rw-r--r--editor/specialty/pampaintspill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/specialty/pampaintspill.c b/editor/specialty/pampaintspill.c
index 745c9b68..eb1888f7 100644
--- a/editor/specialty/pampaintspill.c
+++ b/editor/specialty/pampaintspill.c
@@ -253,7 +253,7 @@ locatePaintSources(struct pam *            const pamP,
     if (downsample > 0 && downsample < paintSources.size) {
         unsigned int i;
 
-        srand(time(NULL));
+        srand(pm_randseed());
 
         for (i = 0; i < downsample; ++i) {
             unsigned int const swapIdx =