]> Dogcows Code - chaz/openbox/commitdiff
setting variables helps
authorMikael Magnusson <mikachu@comhem.se>
Thu, 8 Jun 2006 11:49:52 +0000 (11:49 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Thu, 8 Jun 2006 11:49:52 +0000 (11:49 +0000)
openbox/config.c

index 6df57241edd60855ef817e093e31cea953cf46d0..e117de27f7cd90f4dd283ea37f31fb11632dfcbf 100644 (file)
@@ -148,10 +148,10 @@ static void parse_per_app_settings(ObParseInst *i, xmlDocPtr doc,
                 if (x_pos_given && (c = parse_find_node("y", n->children))) {
                     if (!strcmp(parse_string(doc, c), "center")) {
                         settings->center_y = TRUE;
-                        settings->pos_given;
+                        settings->pos_given = TRUE;
                     } else {
                         settings->position.y = parse_int(doc, c);
-                        settings->pos_given;
+                        settings->pos_given = TRUE;
                     }
                 }
             }
This page took 0.029808 seconds and 4 git commands to generate.