diff console/libgnt/gntentry.c @ 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 ca36763497d9
children 3e193cf68660
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;
 	}