Calling onlywind() in this way should use FFRAND and 1 as the
repective parameters. ok? 

-lum

Index: buffer.c
===================================================================
RCS file: /cvs/src/usr.bin/mg/buffer.c,v
retrieving revision 1.99
diff -u -p -u -p -r1.99 buffer.c
--- buffer.c    26 Sep 2015 21:51:58 -0000      1.99
+++ buffer.c    9 Oct 2015 09:39:30 -0000
@@ -408,7 +408,7 @@ listbuf_goto_buffer_helper(int f, int n,
        curwp = wp;
 
        if (only)
-               ret = (onlywind(f, n));
+               ret = (onlywind(FFRAND, 1));
        else
                ret = TRUE;
 
Index: theo.c
===================================================================
RCS file: /cvs/src/usr.bin/mg/theo.c,v
retrieving revision 1.146
diff -u -p -u -p -r1.146 theo.c
--- theo.c      19 Mar 2015 21:48:05 -0000      1.146
+++ theo.c      9 Oct 2015 09:39:30 -0000
@@ -78,7 +78,7 @@ theo(int f, int n)
 
        curbp = bp;
        curwp = wp;
-       onlywind(f, n);
+       onlywind(FFRAND, 1);
 
        return (TRUE);
 }

Reply via email to