projects
/
tedtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3539ae
)
Fix style
author
teodor
<teodor>
Fri, 11 Jul 2008 13:06:22 +0000
(13:06 +0000)
committer
teodor
<teodor>
Fri, 11 Jul 2008 13:06:22 +0000
(13:06 +0000)
sfxstr.c
patch
|
blob
|
history
diff --git
a/sfxstr.c
b/sfxstr.c
index
c107e60
..
50cbab4
100644
(file)
--- a/
sfxstr.c
+++ b/
sfxstr.c
@@
-626,11
+626,11
@@
addRecord(SFSTree *info, SFSNode* node, SFSDataIO *in, int level) {
else
node = splitSkipNode(info, node, in, level);
} else {
else
node = splitSkipNode(info, node, in, level);
} else {
-
StopLow = node->data;
+ StopLow = node->data;
StopHigh = StopLow + node->nchar;
while (StopLow < StopHigh) {
StopMiddle = StopLow + ((StopHigh - StopLow) >> 1);
StopHigh = StopLow + node->nchar;
while (StopLow < StopHigh) {
StopMiddle = StopLow + ((StopHigh - StopLow) >> 1);
-
if ( StopMiddle->val == *ptr ) {
+ if ( StopMiddle->val == *ptr ) {
if ( *(ptr+1)=='\0' ) {
if ( StopMiddle->isword ) {
/* already exists */
if ( *(ptr+1)=='\0' ) {
if ( StopMiddle->isword ) {
/* already exists */