diff options
-rw-r--r-- | usr.bin/mg/random.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mg/random.c b/usr.bin/mg/random.c index f48cb7426ea..94bef74bf31 100644 --- a/usr.bin/mg/random.c +++ b/usr.bin/mg/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.18 2006/06/01 04:17:34 kjell Exp $ */ +/* $OpenBSD: random.c,v 1.19 2006/06/01 09:54:08 kjell Exp $ */ /* This file is in the public domain. */ @@ -125,18 +125,18 @@ twiddle(int f, int n) if (doto == llength(dotp)) { if (--doto <= 0) return (FALSE); - backchar(f, 1); + (void)backchar(FFRAND, 1); fudge = TRUE; } else { if (doto == 0) return (FALSE); } cr = lgetc(dotp, doto - 1); - backdel(f, 1); - forwchar(f, 1); + (void)backdel(FFRAND, 1); + (void)forwchar(FFRAND, 1); linsert(1, cr); if (fudge != TRUE) - backchar(f, 1); + (void)backchar(FFRAND, 1); undo_no_boundary(FALSE); undo_add_boundary(); lchange(WFEDIT); |