summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-12-28 18:18:48 +0100
committerDanny Baumann <dannybaumann@web.de>2008-12-28 18:18:48 +0100
commit91a76e4f5144e67a66316c910da03c0f1a662a13 (patch)
tree9abffa6cde06b580eeda71aa55282574ccfd3e4f
parentba280a4bcba4ffa2898463a6e75f323164275f42 (diff)
downloadput-91a76e4f5144e67a66316c910da03c0f1a662a13.tar.gz
put-91a76e4f5144e67a66316c910da03c0f1a662a13.tar.bz2
Fix typo.
-rw-r--r--put.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/put.c b/put.c
index b7d03d2..7b2b025 100644
--- a/put.c
+++ b/put.c
@@ -459,7 +459,7 @@ putGetDistance (CompWindow *w,
vDirection = (vpY - s->y);
if (vDirection > s->vsize / 2)
vDirection = (vDirection - s->vsize);
- else if (vDirection < -s->hsize / 2)
+ else if (vDirection < -s->vsize / 2)
vDirection = (vDirection + s->vsize);
dx = s->width * hDirection;