diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-25 11:20:33 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-25 11:24:32 +0300 |
commit | db76de147e9ab74ba1355198c1c28bc924a990ce (patch) | |
tree | bcfde45170f771d618ffe4fbaee7682dc5e5c9fc /source/blender/editors/space_graph/graph_buttons.c | |
parent | 59afbf0c047588fc3d819b22d7a854e37b20d081 (diff) |
Cleanup: SpaceGraph ED code: use boolean litterals when needed.
Diffstat (limited to 'source/blender/editors/space_graph/graph_buttons.c')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 0c2280f0c7e..45c43a5853d 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -735,7 +735,7 @@ static bool graph_panel_drivers_poll(const bContext *C, PanelType *UNUSED(pt)) SpaceGraph *sipo = CTX_wm_space_graph(C); if (sipo->mode != SIPO_MODE_DRIVERS) { - return 0; + return false; } return graph_panel_context(C, NULL, NULL); |