Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-03 23:12:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-03 23:12:27 +0300
commite54747a18c78faac51d83b1745c070b61bea113d (patch)
tree3b0e6d2198caa2022524f6a795342dfd40bcf565
parentd289a2d4a973c3540a041cbf9c27d7b9aeb35f96 (diff)
Correct error in last commit
-rw-r--r--source/blender/makesrna/intern/rna_text_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_text_api.c b/source/blender/makesrna/intern/rna_text_api.c
index 211f1bce442..000076eccec 100644
--- a/source/blender/makesrna/intern/rna_text_api.c
+++ b/source/blender/makesrna/intern/rna_text_api.c
@@ -98,7 +98,7 @@ void RNA_api_text(StructRNA *srna)
RNA_def_function_ui_description(func, "Set cursor by line and (optionally) character index");
parm = RNA_def_int(func, "line", 0, 0, INT_MAX, "Line", "", 0, INT_MAX);
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED);
- parm = RNA_def_int(func, "char", 0, 0, INT_MAX, "Character", "", 0, INT_MAX);
+ parm = RNA_def_int(func, "character", 0, 0, INT_MAX, "Character", "", 0, INT_MAX);
RNA_def_boolean(func, "select", false, "", "Select when moving the cursor");
}