From 5f73d422ffef5396dcc796940b24e7f0ce147c4b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 Jan 2025 15:53:52 +1100 Subject: [PATCH] Docs: correct code-comment for TextVars::cursor_offset --- source/blender/makesdna/DNA_sequence_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 04f9db28fa0..912c8c32267 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -456,7 +456,7 @@ typedef struct TextVars { char align; char _pad[2]; - /** Offsets in bytes relative to #TextVars::text. */ + /** Offsets in characters (unicode code-points) for #TextVars::text. */ int cursor_offset; int selection_start_offset; int selection_end_offset;