Code cleanup: use bool for static methods
[blender.git] / source / blender / editors / screen / area.c
index 3bec60008e6afa368689cc4357d3bd274e84aab3..b5607b42956013acd2e18ed21d7acd74c664d4e4 100644 (file)
@@ -913,7 +913,7 @@ static void region_overlap_fix(ScrArea *sa, ARegion *ar)
 }
 
 /* overlapping regions only in the following restricted cases */
-static int region_is_overlap(wmWindow *win, ScrArea *sa, ARegion *ar)
+static bool region_is_overlap(wmWindow *win, ScrArea *sa, ARegion *ar)
 {
        if (U.uiflag2 & USER_REGION_OVERLAP) {
                if (WM_is_draw_triple(win)) {