summaryrefslogtreecommitdiff
path: root/usr.bin/screensave
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-20 03:27:00 -0400
committerIan Moffett <ian@osmora.org>2025-08-20 03:27:00 -0400
commit5e184fc5fa5919223aa0592f89bd268ce2b88721 (patch)
tree5a97926c8dd32617f7c0e4d9ee34723c078bcd5d /usr.bin/screensave
parent01892b6aa5f68b8e4db69bd76e60496320e6108f (diff)
usr: screensave: Fix typo in comment
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin/screensave')
-rw-r--r--usr.bin/screensave/screensave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/screensave/screensave.c b/usr.bin/screensave/screensave.c
index 172ab8b..9dae5d3 100644
--- a/usr.bin/screensave/screensave.c
+++ b/usr.bin/screensave/screensave.c
@@ -76,7 +76,7 @@ screensave(void)
curpix = ctx.io[i];
nextpix = ctx.io[i + 1];
- /* If a multiple of 15, AND, otherwise XOR */
+ /* If a multiple of 16, AND, otherwise XOR */
if ((n_iter & 15) != 0) {
curpix ^= randbuf[0] & 3;
nextpix ^= (curpix | (nextpix << 1));