changeset 14578:60845d332ea6

[gaim-migrate @ 17302] Auto-completion can have non-alpha characters. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 18 Sep 2006 03:17:11 +0000
parents 2a4a8b24de92
children 310a81ba302c
files console/libgnt/gntentry.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/libgnt/gntentry.c	Mon Sep 18 02:53:54 2006 +0000
+++ b/console/libgnt/gntentry.c	Mon Sep 18 03:17:11 2006 +0000
@@ -31,7 +31,7 @@
 	while (s > entry->start)
 	{
 		char *t = g_utf8_find_prev_char(entry->start, s);
-		if ((*t < 'A' || *t > 'Z') && (*t < 'a' || *t > 'z'))
+		if (isspace(*t))
 			break;
 		s = t;
 	}