diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-04-22 08:56:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-04-22 08:56:03 +0000 |
| commit | 17bc2f507035b9abde2e35e09437040dbf76327e (patch) | |
| tree | 62dee10d0cce5d60b0d2739578b46fac55be15f6 /async.c | |
| parent | Merge branch 'releases/1.7' (diff) | |
generate-alt-random: use {width,height} + 1 in randrange()
When randomizing the sixel width and height, use width/height + 1 in
the call to randrange(). This ensures the width/height is never 0, and
that the maximum width/height is half the window size, not slightly
less than that.
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions
