Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 1 Apr 2011 11:53:15 +0000 (13:53 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 1 Apr 2011 11:53:15 +0000 (13:53 +0200)
src/charsets.c

index 7bbe102..d70c11d 100644 (file)
@@ -184,8 +184,6 @@ void pp2_relevance_first(pp2_relevance_token_t prt,
         char *pout = firstword;
         char articles[] = "the den der die des an a "; // must end in space
         
-        while (*p && !isalnum(*(unsigned char *)p))
-            p++;
         for (; *p && *p != ' ' && pout - firstword < (sizeof(firstword)-2); p++)
             *pout++ = tolower(*(unsigned char *)p);
         *pout++ = ' ';