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>2013-08-26 10:54:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-26 10:54:05 +0400
commitc0d67d26aac0c1b5acccdbdd3111c3b76ad7b523 (patch)
treefbc627e8caf85832f6ee82ef2a475e426bae9e6e /source/blender/editors/space_file/space_file.c
parentd11e4197924e2228308521f0eb37f345868eab98 (diff)
no remove double property lookups in ED_fileselect_set_params and redundant NULL check in file_main_area_draw.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c
index 04755c7220d..9758e2e9135 100644
--- a/source/blender/editors/space_file/space_file.c
+++ b/source/blender/editors/space_file/space_file.c
@@ -328,7 +328,7 @@ static void file_main_area_draw(const bContext *C, ARegion *ar)
/* Allow dynamically sliders to be set, saves notifiers etc. */
- if (params && (params->display == FILE_IMGDISPLAY)) {
+ if (params->display == FILE_IMGDISPLAY) {
v2d->scroll = V2D_SCROLL_RIGHT;
v2d->keepofs &= ~V2D_LOCKOFS_Y;
v2d->keepofs |= V2D_LOCKOFS_X;