From 7cde675736192b0a6a6a9418d074593f7aa8f207 Mon Sep 17 00:00:00 2001 From: Alexandre Bique Date: Thu, 12 Sep 2024 09:21:16 +0200 Subject: [PATCH] undo: doc --- include/clap/ext/draft/undo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clap/ext/draft/undo.h b/include/clap/ext/draft/undo.h index f8323ddf..c28a9936 100644 --- a/include/clap/ext/draft/undo.h +++ b/include/clap/ext/draft/undo.h @@ -124,7 +124,7 @@ typedef struct clap_host_undo { // delta: optional, it is a binary blobs used to perform the undo and redo. When not available // the host will save the plugin state and use state->load() to perform undo and redo. // The plugin must be able to perform a redo operation using the delta, though the undo operation - // is only possible if can_undo is true. + // is only possible if delta_can_undo is true. // // Note: the provided delta may be used for incremental state saving and crash recovery. The // plugin can indicate a format version id and the validity lifetime for the binary blobs.