Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-03-06 02:51:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-06 02:51:11 +0300
commit85b667716aab76e08a5387e03197c7a068ba7a58 (patch)
tree0890a3593b56305ef5261cc176ce7c3f5e1ab527 /source/blender/editors/space_file/file_ops.c
parent104d9b475d10afb300699596373b06f26308624f (diff)
Cleanup: style
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r--source/blender/editors/space_file/file_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index 080a8e46c8e..e1a90584003 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -1647,7 +1647,8 @@ static int file_smoothscroll_invoke(bContext *C, wmOperator *UNUSED(op), const w
/* check if we have reached our final scroll position */
if ((sfile->scroll_offset >= offset + numfiles_layout_margin) &&
- (sfile->scroll_offset < offset + numfiles_layout - numfiles_layout_margin)) {
+ (sfile->scroll_offset < offset + numfiles_layout - numfiles_layout_margin))
+ {
WM_event_remove_timer(CTX_wm_manager(C), CTX_wm_window(C), sfile->smoothscroll_timer);
sfile->smoothscroll_timer = NULL;
/* Postscroll (after rename has been validated by user) is done, rename process is totally finisehd, cleanup. */