From: Dana Jansens Date: Sat, 15 Oct 2011 19:45:27 +0000 (-0400) Subject: Parse all the actions in a single menu item X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=be506155b39f61a8f1cebf396f5ef66809b39a71;p=dana%2Fopenbox.git Parse all the actions in a single menu item --- diff --git a/openbox/menu.c b/openbox/menu.c index 54875d85..39a42b7b 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -300,7 +300,7 @@ static void parse_menu_item(xmlNodePtr node, gpointer data) xmlFree(cc); acts = action_list_concat(acts, al); - c = obt_xml_find_sibling(node->next, "action"); + c = obt_xml_find_sibling(c->next, "action"); } e = menu_add_normal(state->parent, -1, label, acts, TRUE); action_list_unref(acts);