summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-02 21:31:44 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-02 22:34:55 +1000
commit74f90c1fc5feb34e25543a50b5371a398aba22c2 (patch)
tree44feb19bf7659eafa832cfc38c77b55d4cd8ecbf /src/input_handler.cc
parent4288f0fb3aad98ad26c85df89d9b84de1dad1132 (diff)
Refactor buffer undo tree
Store the undo tree as an array of undo nodes, instead of as a pointer based tree.
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
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'))