From b28e407d9ae73475924f18f2e65941d903708a10 Mon Sep 17 00:00:00 2001 From: lum Date: Sat, 10 Oct 2015 08:35:26 +0000 Subject: [PATCH] Call onlywind() properly. --- usr.bin/mg/buffer.c | 4 ++-- usr.bin/mg/theo.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c index 195b14b631e..ba0aa6bfeed 100644 --- a/usr.bin/mg/buffer.c +++ b/usr.bin/mg/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.99 2015/09/26 21:51:58 jasper Exp $ */ +/* $OpenBSD: buffer.c,v 1.100 2015/10/10 08:35:26 lum Exp $ */ /* This file is in the public domain. */ @@ -408,7 +408,7 @@ listbuf_goto_buffer_helper(int f, int n, int only) curwp = wp; if (only) - ret = (onlywind(f, n)); + ret = (onlywind(FFRAND, 1)); else ret = TRUE; diff --git a/usr.bin/mg/theo.c b/usr.bin/mg/theo.c index 7296420462d..bd4d4dc81c6 100644 --- a/usr.bin/mg/theo.c +++ b/usr.bin/mg/theo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: theo.c,v 1.146 2015/03/19 21:48:05 bcallah Exp $ */ +/* $OpenBSD: theo.c,v 1.147 2015/10/10 08:35:26 lum Exp $ */ /* * Copyright (c) 2002 Artur Grabowski * All rights reserved. @@ -78,7 +78,7 @@ theo(int f, int n) curbp = bp; curwp = wp; - onlywind(f, n); + (void)onlywind(FFRAND, 1); return (TRUE); } -- 2.20.1