diff options
Diffstat (limited to 'editor/pamditherbw.c')
-rw-r--r-- | editor/pamditherbw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pamditherbw.c b/editor/pamditherbw.c index 61c23103..931b475f 100644 --- a/editor/pamditherbw.c +++ b/editor/pamditherbw.c @@ -487,7 +487,7 @@ createFsConverter(struct pam * const graypamP, /* Initialize Floyd-Steinberg error vectors. */ MALLOCARRAY_NOFAIL(stateP->thiserr, graypamP->width + 2); MALLOCARRAY_NOFAIL(stateP->nexterr, graypamP->width + 2); - srand((int)(time(NULL) ^ getpid())); + srand(pm_randseed()); { /* (random errors in [-1/8 .. 1/8]) */ |