summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text.c b/src/Text.c
index b0e7a2c..4ce9675 100644
--- a/src/Text.c
+++ b/src/Text.c
@@ -2171,7 +2171,7 @@ DoSelection (TextWidget ctx, XawTextPosition pos, Time time, Boolean motion)
if (motion)
newType = ctx->text.s.type;
else {
- if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) &&
+ if ( (labs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) &&
((pos >= ctx->text.s.left) && (pos <= ctx->text.s.right))) {
sarray = ctx->text.sarray;
for (;*sarray != XawselectNull && *sarray != ctx->text.s.type; sarray++);