aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@sharif.edu>2004-01-09 08:04:12 +0800
committerRoozbeh Pournader <roozbeh@src.gnome.org>2004-01-09 08:04:12 +0800
commit37c0569eef4d376b7a3f1531c628c62f73fd900c (patch)
treea654d0f038b2546641187bf580baa5d952bbbde9
parent54a3d97114cb69754adc59c3450bd6496f28339e (diff)
downloadgsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar.gz
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar.bz2
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar.lz
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar.xz
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.tar.zst
gsoc2013-epiphany-37c0569eef4d376b7a3f1531c628c62f73fd900c.zip
Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne).
2004-01-09 Roozbeh Pournader <roozbeh@sharif.edu> * lib/ephy-state.c: Fixed a logic error in using & instead of && (bug #130919, Telsa Gwynne).
-rw-r--r--ChangeLog5
-rw-r--r--lib/ephy-state.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ebe2c80c..956f4731c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-09 Roozbeh Pournader <roozbeh@sharif.edu>
+
+ * lib/ephy-state.c: Fixed a logic error in using & instead of &&
+ (bug #130919, Telsa Gwynne).
+
2004-01-08 <clahey@ximian.com>
* embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the
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);