projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
bc12b9c
)
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 Apr 2011 11:53:15 +0000
(13:53 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 1 Apr 2011 11:53:15 +0000
(13:53 +0200)
src/charsets.c
patch
|
blob
|
history
diff --git
a/src/charsets.c
b/src/charsets.c
index
7bbe102
..
d70c11d
100644
(file)
--- a/
src/charsets.c
+++ b/
src/charsets.c
@@
-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++ = ' ';