# HG changeset patch # User Todd Kulesza # Date 965793150 0 # Node ID f6a2a3f5734dcd591c170cdfe9eacec492e90b87 # Parent 83c773b5b6dcc775f7a8fb5bec2033ad361d6127 [gaim-migrate @ 657] thank you GrsdLtning, and let's hope this doesn't break everyone elses' systems :) committer: Tailor Script diff -r 83c773b5b6dc -r f6a2a3f5734d src/conversation.c --- a/src/conversation.c Wed Aug 09 01:57:19 2000 +0000 +++ b/src/conversation.c Wed Aug 09 03:52:30 2000 +0000 @@ -802,9 +802,9 @@ gtk_editable_select_region(GTK_EDITABLE(entry), start, finish + strlen(pre) + strlen(post)); } else { gtk_editable_insert_text(GTK_EDITABLE(entry), pre, strlen(pre), &pos); - dummy = pos; + dummy = pos + strlen(pre); gtk_editable_insert_text(GTK_EDITABLE(entry), post, strlen(post), &dummy); - gtk_editable_set_position(GTK_EDITABLE(entry), pos); + gtk_editable_set_position(GTK_EDITABLE(entry), dummy); } gtk_widget_grab_focus(entry); }