1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2025-01-05 19:15:32 +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:
Bob Ham 2019-07-08 10:08:16 +01:00
parent 7ca318a18f
commit a80f816a67

View file

@ -83,5 +83,5 @@ calls_entry_append (GtkEntry *entry,
buf = gtk_entry_get_buffer (entry);
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);
}