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:
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r--source/blender/editors/curve/editfont.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index b7b25b2fdec..5c067e80619 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -973,7 +973,7 @@ static EnumPropertyItem move_type_items[] = {
{NEXT_PAGE, "NEXT_PAGE", 0, "Next Page", ""},
{0, NULL, 0, NULL, NULL}};
-static int move_cursor(bContext *C, int type, int select)
+static int move_cursor(bContext *C, int type, const bool select)
{
Object *obedit = CTX_data_edit_object(C);
Curve *cu = obedit->data;
@@ -1083,7 +1083,7 @@ static int move_exec(bContext *C, wmOperator *op)
{
int type = RNA_enum_get(op->ptr, "type");
- return move_cursor(C, type, 0);
+ return move_cursor(C, type, false);
}
void FONT_OT_move(wmOperatorType *ot)
@@ -1110,7 +1110,7 @@ static int move_select_exec(bContext *C, wmOperator *op)
{
int type = RNA_enum_get(op->ptr, "type");
- return move_cursor(C, type, 1);
+ return move_cursor(C, type, true);
}
void FONT_OT_move_select(wmOperatorType *ot)