minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / screen / area.c
index 714700ec8f1de22c64a33c4dc419553a7d4fa7be..f8ca150e28ef89495282d285e0aa8ddc4a34dc3b 100644 (file)
@@ -403,7 +403,7 @@ void region_scissor_winrct(ARegion *ar, rcti *winrct)
        while (ar->prev) {
                ar = ar->prev;
                
-               if (BLI_isect_rcti(winrct, &ar->winrct, NULL)) {
+               if (BLI_rcti_isect(winrct, &ar->winrct, NULL)) {
                        if (ar->flag & RGN_FLAG_HIDDEN) ;
                        else if (ar->alignment & RGN_SPLIT_PREV) ;
                        else if (ar->alignment == RGN_OVERLAP_LEFT) {