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:
5623222
)
Fixed bug in snippet support where first char was missed
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 22 Aug 2007 08:01:32 +0000
(08:01 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 22 Aug 2007 08:01:32 +0000
(08:01 +0000)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
d9ed681
..
ac188a0
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-1,4
+1,4
@@
-/* $Id: extract.c,v 1.260 2007-08-21 13:27:04 adam Exp $
+/* $Id: extract.c,v 1.261 2007-08-22 08:01:32 adam Exp $
Copyright (C) 1995-2007
Index Data ApS
@@
-208,14
+208,14
@@
static void snippet_add_incomplete_field(RecWord *p, int ord)
int first = 1;
const char **map = 0;
const char *start = b;
-
+ const char *last = b;
+
if (remain > 0)
map = zebra_maps_input(zh->reg->zebra_maps, p->index_type, &b, remain, 0);
while (map)
{
char buf[IT_MAX_WORD+1];
- const char *last = b;
int i, remain;
/* Skip spaces */