summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/TextAction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextAction.c b/src/TextAction.c
index 8d8fe00..f5aaac7 100644
--- a/src/TextAction.c
+++ b/src/TextAction.c
@@ -148,8 +148,8 @@ NotePosition(TextWidget ctx, XEvent* event)
{
XRectangle cursor;
XawTextSinkGetCursorBounds(ctx->text.sink, &cursor);
- ctx->text.ev_x = cursor.x + cursor.width / 2;;
- ctx->text.ev_y = cursor.y + cursor.height / 2;;
+ ctx->text.ev_x = cursor.x + cursor.width / 2;
+ ctx->text.ev_y = cursor.y + cursor.height / 2;
}
break;
case MotionNotify: