diff options
-rw-r--r-- | src/Text.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++); |