Mercurial > pidgin
changeset 3696:ea4fa951aebc
[gaim-migrate @ 3827]
faceprint hates backspace.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 14 Oct 2002 17:31:27 +0000 |
parents | 21d16e3164eb |
children | ade095d370fd |
files | src/conversation.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Mon Oct 14 14:15:26 2002 +0000 +++ b/src/conversation.c Mon Oct 14 17:31:27 2002 +0000 @@ -1088,7 +1088,7 @@ gtk_timeout_remove(c->type_again_timeout); serv_send_typing(c->gc, c->name, NOT_TYPING); } - else if (gdk_keyval_to_unicode(event->keyval) || event->keyval == GDK_BackSpace || event->keyval == GDK_Delete) { + else if (gdk_keyval_to_unicode(event->keyval) || (strlen(txt) > 0 &&(event->keyval == GDK_BackSpace || event->keyval == GDK_Delete))) { if (key_is_typing && (strlen(txt) == 0 || (c->type_again != 0 && time(NULL) > c->type_again))) { int timeout = serv_send_typing(c->gc, c->name, TYPING); if (timeout)