diff src/conversation.c @ 3749:ddc4bfd2c825

[gaim-migrate @ 3887] [16:57:26] <faceprint> arg. typing is borked (18:15:42) faceprint: that's the bugfix patch, 3-state-typing patch coming in a minute committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 18 Oct 2002 22:20:38 +0000
parents d3592d407c9b
children ac18a395eced
line wrap: on
line diff
--- a/src/conversation.c	Fri Oct 18 22:07:20 2002 +0000
+++ b/src/conversation.c	Fri Oct 18 22:20:38 2002 +0000
@@ -1097,7 +1097,7 @@
 		return;
 
 	contents = gtk_editable_get_chars(editable, 0, -1);
-	if(start_pos == 0 && end_pos == strlen(contents)) {
+	if(start_pos == 0 && (end_pos == strlen(contents) || end_pos == -1)) {
 		if(c->type_again_timeout)
 			gtk_timeout_remove(c->type_again_timeout);
 		serv_send_typing(c->gc, c->name, NOT_TYPING);