diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 04:34:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 08:22:28 +0400 |
commit | 617557b08ea94e2b65a1697ddf0b79651204d92b (patch) | |
tree | 50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/editors/curve/editfont.c | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 6 |
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) |