From f5e55c33378b96e614710006121860eb880e6820 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Wed, 2 Sep 2020 19:10:18 +0200 Subject: Cleanup: use bool instead of int in various places --- source/blender/editors/space_file/space_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_file/space_file.c') diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 61d6d8bf678..edc1e83e882 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -662,10 +662,10 @@ static bool filepath_drop_poll(bContext *C, if (drag->type == WM_DRAG_PATH) { SpaceFile *sfile = CTX_wm_space_file(C); if (sfile) { - return 1; + return true; } } - return 0; + return false; } static void filepath_drop_copy(wmDrag *drag, wmDropBox *drop) -- cgit v1.2.3