From 7554ecd77efc29601b7b44deca602724917ce019 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Tue, 21 May 2024 11:27:08 -0600 Subject: remove some view pointer chasing Same as previous commit each window only has a single View. No need for it to be stored elsewhere in memory. --- vis-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 7d729f7..c66924e 100644 --- a/vis-core.h +++ b/vis-core.h @@ -157,7 +157,7 @@ struct Win { Vis *vis; /* editor instance to which this window belongs */ UiWin *ui; /* ui object handling visual appearance of this window */ File *file; /* file being displayed in this window */ - View *view; /* currently displayed part of underlying text */ + View view; /* currently displayed part of underlying text */ bool expandtab; /* whether typed tabs should be converted to spaces in this window*/ MarkList jumplist; /* LRU jump management */ Array saved_selections; /* register used to store selections */ -- cgit v1.2.3