aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor.h b/editor.h
index 0bff84e..769337e 100644
--- a/editor.h
+++ b/editor.h
@@ -74,7 +74,7 @@ typedef struct {
} OperatorContext;
typedef struct {
- void (*func)(OperatorContext*); /* function implementing the operator logic */
+ size_t (*func)(OperatorContext*); /* operator logic, returns new cursor position */
} Operator;
typedef struct {