diff options
author | Don Scorgie <dscorgie@src.gnome.org> | 2006-04-04 11:10:36 +0000 |
---|---|---|
committer | Don Scorgie <dscorgie@src.gnome.org> | 2006-04-04 11:10:36 +0000 |
commit | 09425c3a367ab80d19afc424308c876640f71200 (patch) | |
tree | c36c5c190156893afc018b8e4d92db7ffb8da85c | |
parent | 8368fcd49731f07e93a3ab5c12b9dd459d4cb80c (diff) | |
download | yelp-09425c3a367ab80d19afc424308c876640f71200.tar.gz |
Strip leading and training spaces from search terms Fixes #334568
* src/yelp-search-pager.c:
Strip leading and training spaces from search terms
Fixes #334568
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/yelp-search-pager.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-04-04 Don Scorgie <dscorgie@cvs.gnome.org> + + * src/yelp-search-pager.c: + Strip leading and training spaces from search terms + Fixes #334568 + 2006-04-03 Brent Smith <gnome@nextreality.net> * src/yelp-db-print-pager.c: (db_print_pager_dispose): diff --git a/src/yelp-search-pager.c b/src/yelp-search-pager.c index e7af1d47..120ced4a 100644 --- a/src/yelp-search-pager.c +++ b/src/yelp-search-pager.c @@ -1175,7 +1175,7 @@ slow_search_setup (YelpSearchPager *pager) ptr - container->base_filename); container->base_path = g_strdup (path); container->search_term = - g_strsplit (g_utf8_casefold (pager->priv->search_terms, -1), + g_strsplit (g_utf8_casefold (g_strstrip(pager->priv->search_terms), -1), " ", -1); container->search_status = NOT_SEARCHING; |