diff options
Diffstat (limited to 'source/blender/editors/space_file/file_utils.c')
-rw-r--r-- | source/blender/editors/space_file/file_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c index a432afc4d99..61ddd7d63f2 100644 --- a/source/blender/editors/space_file/file_utils.c +++ b/source/blender/editors/space_file/file_utils.c @@ -32,12 +32,12 @@ #include "file_intern.h" -void file_tile_boundbox(const ARegion *ar, FileLayout *layout, const int file, rcti *r_bounds) +void file_tile_boundbox(const ARegion *region, FileLayout *layout, const int file, rcti *r_bounds) { int xmin, ymax; ED_fileselect_layout_tilepos(layout, file, &xmin, &ymax); - ymax = (int)ar->v2d.tot.ymax - ymax; /* real, view space ymax */ + ymax = (int)region->v2d.tot.ymax - ymax; /* real, view space ymax */ BLI_rcti_init(r_bounds, xmin, xmin + layout->tile_w + layout->tile_border_x, |