aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-09-20 02:47:53 +0000
committercorvid <corvid@lavabit.com>2009-09-20 02:47:53 +0000
commitda3f5268045b5edff01b53f475a56cb0795c7bb1 (patch)
treedfef39b21438155350b5f755893fe5878a15b1cc /dw
parent6a1945e459f5c4ecd0ec89b6501e0daf10f77b41 (diff)
trim some spaces
Diffstat (limited to 'dw')
-rw-r--r--dw/textblock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index c1886e0a..c1f0c2b4 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1486,7 +1486,7 @@ int Textblock::findWord (int x, int y)
word = words->getRef (wordIndex);
lastXCursor = xCursor;
xCursor += word->size.width + word->effSpace;
- if (lastXCursor <= x && xCursor > x &&
+ if (lastXCursor <= x && xCursor > x &&
y > yWidgetBase - word->size.ascent &&
y <= yWidgetBase + word->size.descent) {
return wordIndex;