From 74f90c1fc5feb34e25543a50b5371a398aba22c2 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 2 May 2018 21:31:44 +1000 Subject: Refactor buffer undo tree Store the undo tree as an array of undo nodes, instead of as a pointer based tree. --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.cc') diff --git a/src/input_handler.cc b/src/input_handler.cc index 1466ae02..9e4a8b50 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -1262,7 +1262,7 @@ public: { context().buffer().commit_undo_group(); context().print_status({ format("committed change #{}", - context().buffer().current_history_id()), + (size_t)context().buffer().current_history_id()), context().faces()["Information"] }); } else if (key == ctrl('v')) -- cgit v1.2.3