* cosmetic

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-02 00:05:49 +02:00
parent 23f1275a24
commit 7fe29ebfc3

View File

@ -243,8 +243,8 @@ mu_query_preprocess (const char *query)
g_return_val_if_fail (query, NULL); g_return_val_if_fail (query, NULL);
/* translate the the searchexpr to all lowercase; this /* translate the the searchexpr to all lowercase; this
* fill fixes some of the false-negatives. A full fix * will fixes some of the false-negatives. A full fix
* probably require some custom query parser. * probably requires some custom query parser.
*/ */
my_query = g_utf8_strdown (query, -1); my_query = g_utf8_strdown (query, -1);
@ -252,7 +252,7 @@ mu_query_preprocess (const char *query)
if (*cur == ':') /* we found a ':' */ if (*cur == ':') /* we found a ':' */
/* if there's a registered xapian prefix before the /* if there's a registered xapian prefix before the
* ':', don't touch it. Otherwise replace ':' with * ':', don't touch it. Otherwise replace ':' with
* a space' * a space'... ugly...
*/ */
if (!is_xapian_prefix (my_query, cur)) if (!is_xapian_prefix (my_query, cur))
*cur = ' '; *cur = ' ';