aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-08 13:04:18 +0200
committerbfredl <bjorn.linse@gmail.com>2022-05-08 13:22:09 +0200
commitdf41d884a7b788bb38060e732f1a7abb08de7b1b (patch)
treec7687eef00b35bdc02ba37437a70b7c37dda4026 /src/nvim/memory.c
parent0d3f17a6c317b26cdc319b48e25e1574f3a0e9fd (diff)
downloadrneovim-df41d884a7b788bb38060e732f1a7abb08de7b1b.tar.gz
rneovim-df41d884a7b788bb38060e732f1a7abb08de7b1b.tar.bz2
rneovim-df41d884a7b788bb38060e732f1a7abb08de7b1b.zip
refactor(grid): move out grid_* functions from screen.c
Also normalize some types. use "size_t" for unsigned array offsets. Fix -Wconversion issues missed as screen.c is missing this check.
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 19144a5dce..8a65188f22 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -696,7 +696,7 @@ void free_all_mem(void)
}
// free screenlines (can't display anything now!)
- screen_free_all_mem();
+ grid_free_all_mem();
clear_hl_tables(false);
list_free_log();