mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
util: Fix off-by-one in calls_entry_append
Append after the last character rather than insert before it. Closes #70
This commit is contained in:
parent
7ca318a18f
commit
a80f816a67
1 changed files with 1 additions and 1 deletions
|
@ -83,5 +83,5 @@ calls_entry_append (GtkEntry *entry,
|
||||||
buf = gtk_entry_get_buffer (entry);
|
buf = gtk_entry_get_buffer (entry);
|
||||||
len = gtk_entry_buffer_get_length (buf);
|
len = gtk_entry_buffer_get_length (buf);
|
||||||
|
|
||||||
gtk_entry_buffer_insert_text (buf, len - 1, str, 1);
|
gtk_entry_buffer_insert_text (buf, len, str, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue