Commit a80f816a authored by Bob Ham's avatar Bob Ham
Browse files

util: Fix off-by-one in calls_entry_append

Append after the last character rather than insert before it.

Closes #70
parent 7ca318a1
......@@ -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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment