summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index ee0cfc3da..295bef195 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -606,11 +606,11 @@ void tree_handle_selection_area(struct tree *tree, int x, int y, int width, int
if (width < 0) {
x += width;
- width =- width;
+ width = -width;
}
if (height < 0) {
y += height;
- height =- height;
+ height = -height;
}
tree_handle_selection_area_node(tree, tree->root->child, x, y, width, height, invert);