summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-08-20 09:10:04 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-08-22 10:57:42 +0300
commitb770246f447761d178336c53808a53f567ba4eb9 (patch)
tree0d3008c9d1aa626c868ed522167ee737c3054aef /src/ui/inputwidget.c
parent860b09d2b0895a20febafb1b5aebf29673567776 (diff)
Cleanup
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r--src/ui/inputwidget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index 2f0cabbb..e0272a5d 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -1091,7 +1091,6 @@ void setCursor_InputWidget(iInputWidget *d, iInt2 pos) {
1091 pos.x = iClamp(pos.x, 0, endX_InputWidget_(d, pos.y)); 1091 pos.x = iClamp(pos.x, 0, endX_InputWidget_(d, pos.y));
1092 d->cursor = pos; 1092 d->cursor = pos;
1093 iChar ch = at_InputWidget_(d, pos); 1093 iChar ch = at_InputWidget_(d, pos);
1094 printf("cursor x:%d ch:%08x (%lc)\n", pos.x, ch, (int)ch);
1095 /* Update selection. */ 1094 /* Update selection. */
1096 if (isMarking_()) { 1095 if (isMarking_()) {
1097 if (isEmpty_Range(&d->mark)) { 1096 if (isEmpty_Range(&d->mark)) {