diff options
Diffstat (limited to 'source/blender/editors/space_file/filesel.c')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index a7197cb31e6..31695ddd776 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -308,7 +308,7 @@ FileSelection ED_fileselect_layout_offset_rect(FileLayout* layout, const rcti* r CLAMP(rowmax, 0, layout->rows-1); } - if ( (colmin > layout->columns-1) || (rowmin > layout->rows-1) ) { + if ((colmin > layout->columns-1) || (rowmin > layout->rows-1)) { sel.first = -1; } else { @@ -317,7 +317,7 @@ FileSelection ED_fileselect_layout_offset_rect(FileLayout* layout, const rcti* r else sel.first = colmin + layout->columns*rowmin; } - if ( (colmax > layout->columns-1) || (rowmax > layout->rows-1) ) { + if ((colmax > layout->columns-1) || (rowmax > layout->rows-1)) { sel.last = -1; } else { |