diff options
Diffstat (limited to 'src/gui/gui-bar-item.c')
-rw-r--r-- | src/gui/gui-bar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 8a7cf25ad..de902476f 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -969,7 +969,8 @@ gui_bar_item_input_text_cb (const void *pointer, void *data, ptr_input = malloc (length); if (ptr_input) { - snprintf (ptr_input, length, "%s%s", str_start_input, str_cursor); + strcpy (ptr_input, str_start_input); + strcat (ptr_input, str_cursor); } } |