From: teodor Date: Fri, 11 Jul 2008 13:05:05 +0000 (+0000) Subject: make saved position reusable X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=d3539aea94a979d4725ef4504ae7a118a99496ad;p=tedtools.git make saved position reusable --- diff --git a/sfxstr.c b/sfxstr.c index 337831c..c107e60 100644 --- 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