projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e430c8
)
Fixed 'inconsistent register' bug caused by terms of size IT_MAX_WORD
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 9 Jan 2009 13:09:45 +0000
(14:09 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 9 Jan 2009 13:09:45 +0000
(14:09 +0100)
index/kinput.c
patch
|
blob
|
history
diff --git
a/index/kinput.c
b/index/kinput.c
index
5745116
..
3a9ed27
100644
(file)
--- a/
index/kinput.c
+++ b/
index/kinput.c
@@
-185,7
+185,7
@@
int key_file_read(struct key_file *f, char *key)
key[i++] = c;
while ((c = key_file_getc(f)))
{
- if (i < IT_MAX_WORD)
+ if (i <= IT_MAX_WORD)
key[i++] = c;
}
key[i++] = '\0';