diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-09-19 04:17:06 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-09-19 04:17:06 +0300 |
commit | bc5238e3ccb76556891d425994e73bfb5c33acb8 (patch) | |
tree | 2d78d58570fa8c94988f0f77e2cdda73cd89e5ef /source/blender/editors/space_file/file_utils.c | |
parent | 1bb89a60280da92852c8c5205f34d3ff8b0f210c (diff) |
Correction to previous commit
Diffstat (limited to 'source/blender/editors/space_file/file_utils.c')
-rw-r--r-- | source/blender/editors/space_file/file_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c index 435c04b8ef1..3c007f25da3 100644 --- a/source/blender/editors/space_file/file_utils.c +++ b/source/blender/editors/space_file/file_utils.c @@ -41,7 +41,7 @@ void file_tile_boundbox(const ARegion *ar, FileLayout *layout, const int file, r int xmin, ymax; ED_fileselect_layout_tilepos(layout, file, &xmin, &ymax); - ymax = ar->v2d.tot.ymax - ymax; /* real, view space ymax */ + ymax = (int)ar->v2d.tot.ymax - ymax; /* real, view space ymax */ BLI_rcti_init(r_bounds, xmin, xmin + layout->tile_w + layout->tile_border_x, ymax - layout->tile_h - layout->tile_border_y, ymax); } |