make saved position reusable
authorteodor <teodor>
Fri, 11 Jul 2008 13:05:05 +0000 (13:05 +0000)
committerteodor <teodor>
Fri, 11 Jul 2008 13:05:05 +0000 (13:05 +0000)
sfxstr.c

index 337831c..c107e60 100644 (file)
--- a/sfxstr.c
+++ b/sfxstr.c
@@ -225,7 +225,7 @@ SFSAddSaved(SFSTree *info, SFSDataIO *in, SFSTreePosition *position) {
                return;
        }
 
-       *(position->nodeptr) = addRecord(info, position->node, in, position->level);
+       position->node = *(position->nodeptr) = addRecord(info, position->node, in, position->level);
 }
 
 static void