mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
fix(diff): fix incorrect item size of dout_ga (#34338)
Related 267494151b
This commit is contained in:
@ -2925,7 +2925,7 @@ static void diff_find_change_inline_diff(diff_T *dp)
|
||||
const int save_diff_algorithm = diff_algorithm;
|
||||
|
||||
diffio_T dio = { 0 };
|
||||
ga_init(&dio.dio_diff.dout_ga, sizeof(char *), 1000);
|
||||
ga_init(&dio.dio_diff.dout_ga, sizeof(diffhunk_T), 1000);
|
||||
|
||||
// inline diff only supports internal algo
|
||||
dio.dio_internal = true;
|
||||
|
Reference in New Issue
Block a user