From 4d38c3a922818159b67bb7bede4b00fb592ee484 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Thu, 23 May 2024 19:35:52 -0600 Subject: drop cell_blank from View No need for this to be stored in every View since its just a never modified cell with a space. Also delete the cell_unused global since all it does is provide a 0 initialized Cell. --- view.h | 1 - 1 file changed, 1 deletion(-) (limited to 'view.h') diff --git a/view.h b/view.h index b159267..63cef3e 100644 --- a/view.h +++ b/view.h @@ -54,7 +54,6 @@ typedef struct View { Text *text; /* underlying text management */ char *textbuf; /* scratch buffer used for drawing */ UiWin *ui; /* corresponding ui window */ - Cell cell_blank; /* used for empty/blank cells */ int width, height; /* size of display area */ size_t start, end; /* currently displayed area [start, end] in bytes from the start of the file */ size_t start_last; /* previously used start of visible area, used to update the mark */ -- cgit v1.2.3