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-12-10 06:44:46 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-10 06:45:17 +0400
commit8dc80e9d736a9262947de8fb80df40dc010e37b4 (patch)
treee95ba44fcbe16fe75b2c858d080979de4bad8341 /source/blender/windowmanager
parent07d09267964b70893d81e2d2fd6958ad6075e16c (diff)
Style Cleanup
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_dragdrop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_dragdrop.c b/source/blender/windowmanager/intern/wm_dragdrop.c
index 53d846b63c7..819ec365e09 100644
--- a/source/blender/windowmanager/intern/wm_dragdrop.c
+++ b/source/blender/windowmanager/intern/wm_dragdrop.c
@@ -367,7 +367,7 @@ void wm_drags_draw(bContext *C, wmWindow *win, rcti *rect)
x = cursorx - drag->sx / 2;
if (cursory + drag->sy / 2 + padding + iconsize < winsizey)
- y = cursory + drag->sy / 2 + padding;
+ y = cursory + drag->sy / 2 + padding;
else
y = cursory - drag->sy / 2 - padding - iconsize - padding - iconsize;
}
@@ -375,7 +375,7 @@ void wm_drags_draw(bContext *C, wmWindow *win, rcti *rect)
x = cursorx - 2 * padding;
if (cursory + iconsize + iconsize < winsizey)
- y = cursory + iconsize;
+ y = cursory + iconsize;
else
y = cursory - iconsize - 2 * UI_DPI_FAC;
}