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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 7fbdce097a9..9ae0a88151c 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -2326,10 +2326,10 @@ static int border_apply_rect(wmOperator *op)
/* operator arguments and storage. */
- RNA_int_set(op->ptr, "xmin", MIN2(rect->xmin, rect->xmax) );
- RNA_int_set(op->ptr, "ymin", MIN2(rect->ymin, rect->ymax) );
- RNA_int_set(op->ptr, "xmax", MAX2(rect->xmin, rect->xmax) );
- RNA_int_set(op->ptr, "ymax", MAX2(rect->ymin, rect->ymax) );
+ RNA_int_set(op->ptr, "xmin", MIN2(rect->xmin, rect->xmax));
+ RNA_int_set(op->ptr, "ymin", MIN2(rect->ymin, rect->ymax));
+ RNA_int_set(op->ptr, "xmax", MAX2(rect->xmin, rect->xmax));
+ RNA_int_set(op->ptr, "ymax", MAX2(rect->ymin, rect->ymax));
return 1;
}