From 4a42260849ab284cc6a257c3d0cb74b4633a39de Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 8 Jun 2006 11:49:52 +0000 Subject: [PATCH] setting variables helps --- openbox/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/config.c b/openbox/config.c index 6df57241..e117de27 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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; } } } -- 2.45.2