summaryrefslogtreecommitdiff
path: root/stackstash.c
diff options
context:
space:
mode:
authorSoeren Sandmann <sandmann@redhat.com>2006-03-28 03:02:21 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-03-28 03:02:21 +0000
commit6534ca13c01fe7be98cffe31f0e2c081e12bc952 (patch)
tree8cc6a106c75562939d8ca4812a8e0f320ac27ad3 /stackstash.c
parent3c5240c7ef297c281546ca85c2e356434df5928c (diff)
New files containing a simplified and sanitized version of the state
Mon Mar 27 21:44:04 2006 Soeren Sandmann <sandmann@redhat.com> * sformat.[ch]: New files containing a simplified and sanitized version of the state machine and type system from sfile.c. * sfile.c: Move the state machine and type management to separate files. Make the amount of memory used during loading and saving less obscene. * stackstash.c (stack_stash_new_from_root): Make this function store the root again.
Diffstat (limited to 'stackstash.c')
-rw-r--r--stackstash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stackstash.c b/stackstash.c
index d22c69f..ba1a4cc 100644
--- a/stackstash.c
+++ b/stackstash.c
@@ -281,6 +281,8 @@ stack_stash_new_from_root (StackNode *root)
{
StackStash *stash = create_stack_stash();
+ stash->root = root;
+
build_hash_table (stash->root, stash);
return stash;