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/space_info | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/info_draw.c | 10 | ||||
-rw-r--r-- | source/blender/editors/space_info/info_report.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c index 6647a8ee946..575f44b61a9 100644 --- a/source/blender/editors/space_info/info_draw.c +++ b/source/blender/editors/space_info/info_draw.c @@ -149,10 +149,10 @@ static int report_textview_begin(TextViewContext *tvc) tvc->iter_char = 0; report_textview_init__internal(tvc); - return TRUE; + return true; } else { - return FALSE; + return false; } #else return (tvc->iter != NULL); @@ -178,10 +178,10 @@ static int report_textview_step(TextViewContext *tvc) tvc->iter_char = 0; /* reset start */ report_textview_init__internal(tvc); - return TRUE; + return true; } else { - return FALSE; + return false; } } else { @@ -189,7 +189,7 @@ static int report_textview_step(TextViewContext *tvc) tvc->iter_char = tvc->iter_char_next + 1; report_textview_init__internal(tvc); - return TRUE; + return true; } } diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c index 827e4427ca0..2135166abe9 100644 --- a/source/blender/editors/space_info/info_report.c +++ b/source/blender/editors/space_info/info_report.c @@ -319,7 +319,7 @@ void INFO_OT_select_border(wmOperatorType *ot) /* ot->flag = OPTYPE_REGISTER; */ /* rna */ - WM_operator_properties_gesture_border(ot, TRUE); + WM_operator_properties_gesture_border(ot, true); } |