X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=visor;a=blobdiff_plain;f=libvisor%2Fsrc%2Fvisor.c;h=12b5a02ab0b730b54a80395d7eb98763269ea3a2;hp=948968051348a81ded53c13d11d7fcaa1b02b444;hb=94c867869ece77f27cf3c8b637d44e13d86f5b88;hpb=7357e1f153279a9d84d8671f02fa146575d4935e diff --git a/libvisor/src/visor.c b/libvisor/src/visor.c index 9489680..12b5a02 100644 --- a/libvisor/src/visor.c +++ b/libvisor/src/visor.c @@ -271,6 +271,7 @@ void vi_buf_reset(struct vi_buffer *vb) memset(vb, 0, sizeof *vb); vb->prev = prev; vb->next = next; + vb->vi = vi; } int vi_buf_read(struct vi_buffer *vb, const char *path)