changeset 648:07165959309b

[gaim-migrate @ 658] just for the record, it did break my system. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 09 Aug 2000 04:09:10 +0000
parents f6a2a3f5734d
children 779c04b844f4
files src/conversation.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Wed Aug 09 03:52:30 2000 +0000
+++ b/src/conversation.c	Wed Aug 09 04:09:10 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 + strlen(pre);
+		dummy = pos;
 		gtk_editable_insert_text(GTK_EDITABLE(entry), post, strlen(post), &dummy);
-		gtk_editable_set_position(GTK_EDITABLE(entry), dummy);
+		gtk_editable_set_position(GTK_EDITABLE(entry), pos);
 	}
 	gtk_widget_grab_focus(entry);
 }