From 37c0569eef4d376b7a3f1531c628c62f73fd900c Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Fri, 9 Jan 2004 00:04:12 +0000 Subject: Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne). 2004-01-09 Roozbeh Pournader * lib/ephy-state.c: Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne). --- lib/ephy-state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ephy-state.c') diff --git a/lib/ephy-state.c b/lib/ephy-state.c index 476b6ab4d..9c2abb7d0 100644 --- a/lib/ephy-state.c +++ b/lib/ephy-state.c @@ -157,7 +157,7 @@ ephy_state_window_set_position (GtkWidget *window, EphyNode *node) size = ephy_node_get_property_boolean (node, EPHY_NODE_STATE_PROP_POSITION); /* Don't set the position of the window if it is maximized */ - if (!maximize & size) + if ((!maximize) && size) { x = ephy_node_get_property_int (node, EPHY_NODE_STATE_PROP_POSITION_X); y = ephy_node_get_property_int (node, EPHY_NODE_STATE_PROP_POSITION_Y); -- cgit v1.2.3