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/makesrna/intern/rna_wm.c | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_wm.c b/source/blender/makesrna/intern/rna_wm.c index 3cad1df83f4..23b6d1e41ae 100644 --- a/source/blender/makesrna/intern/rna_wm.c +++ b/source/blender/makesrna/intern/rna_wm.c @@ -519,7 +519,7 @@ static PointerRNA rna_Operator_properties_get(PointerRNA *ptr) static PointerRNA rna_OperatorMacro_properties_get(PointerRNA *ptr) { wmOperatorTypeMacro *otmacro = (wmOperatorTypeMacro *)ptr->data; - wmOperatorType *ot = WM_operatortype_find(otmacro->idname, TRUE); + wmOperatorType *ot = WM_operatortype_find(otmacro->idname, true); return rna_pointer_inherit_refine(ptr, ot->srna, otmacro->properties); } @@ -862,7 +862,7 @@ static int rna_wmClipboard_length(PointerRNA *UNUSED(ptr)) static void rna_wmClipboard_set(PointerRNA *UNUSED(ptr), const char *value) { - WM_clipboard_text_set((void *) value, FALSE); + WM_clipboard_text_set((void *) value, false); } #ifdef WITH_PYTHON @@ -1157,7 +1157,7 @@ static StructRNA *rna_Operator_register(Main *bmain, ReportList *reports, void * /* check if we have registered this operator type before, and remove it */ { - wmOperatorType *ot = WM_operatortype_find(dummyot.idname, TRUE); + wmOperatorType *ot = WM_operatortype_find(dummyot.idname, true); if (ot && ot->ext.srna) rna_Operator_unregister(bmain, ot->ext.srna); } @@ -1249,7 +1249,7 @@ static StructRNA *rna_MacroOperator_register(Main *bmain, ReportList *reports, v /* check if we have registered this operator type before, and remove it */ { - wmOperatorType *ot = WM_operatortype_find(dummyot.idname, TRUE); + wmOperatorType *ot = WM_operatortype_find(dummyot.idname, true); if (ot && ot->ext.srna) rna_Operator_unregister(bmain, ot->ext.srna); } |