summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/view.c b/source/view.c
index 21c0123a..b2e325ff 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1152,7 +1152,7 @@ static void rofi_view_paste ( RofiViewState *state, xcb_selection_notify_event_t
}
// Insert string move cursor.
textbox_insert ( state->text, state->text->cursor, text, dl );
- textbox_cursor ( state->text, state->text->cursor + g_utf8_strlen(text, -1) );
+ textbox_cursor ( state->text, state->text->cursor + g_utf8_strlen ( text, -1 ) );
// Force a redraw and refiltering of the text.
state->update = TRUE;
state->refilter = TRUE;