summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2003-07-23 01:45:44 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2003-07-23 01:45:44 +0000
commit0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7 (patch)
treefb68e08bfab17debce6c71a57df541197e296a82 /parser
parent845833226b7d65019d41eb3afce6fad7ae3d30a2 (diff)
* Change xml parsing to pass the parent node, rather than the first
child. * Add x,y co-ordinates on showmenu action so we can place menus on keypress.
Diffstat (limited to 'parser')
-rw-r--r--parser/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/parse.c b/parser/parse.c
index 2b81594a..72643652 100644
--- a/parser/parse.c
+++ b/parser/parse.c
@@ -100,7 +100,7 @@ void parse_tree(xmlDocPtr doc, xmlNodePtr node, void *nothing)
struct Callback *c = g_hash_table_lookup(callbacks, node->name);
if (c)
- c->func(doc, node->xmlChildrenNode, c->data);
+ c->func(doc, node, c->data);
node = node->next;
}