]> Dogcows Code - chaz/openbox/commitdiff
dont parse both keybindings and actions in the same block
authorDana Jansens <danakj@orodu.net>
Thu, 26 Apr 2007 03:12:47 +0000 (03:12 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 26 Apr 2007 03:12:47 +0000 (03:12 +0000)
openbox/config.c

index 36ee408c8f026a0664391033d73b6e4645894fa2..f8b3fd95449bd1de7bb68fc8de76bde8f04e27ce 100644 (file)
@@ -289,7 +289,7 @@ static void parse_key(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
             n = parse_find_node("keybind", n->next);
         }
     }
-    if ((n = parse_find_node("action", node->children))) {
+    else if ((n = parse_find_node("action", node->children))) {
         while (n) {
             ObAction *action;
             
This page took 0.028703 seconds and 4 git commands to generate.