diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-01-23 21:53:00 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-01-23 21:53:00 +0800 |
commit | bcd2c87f376c7a7912e1cd28d980821f9903c155 (patch) | |
tree | 90ab5e9872f666905e05a4b356150aea22712f1e /lib/ephy-node.c | |
parent | 3c7e9683462c1af47c215039250f739ab4d6fcc2 (diff) | |
download | gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.gz gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.tar.zst gsoc2013-epiphany-bcd2c87f376c7a7912e1cd28d980821f9903c155.zip |
Fix evil bug in id factory.
2003-01-23 Marco Pesenti Gritti <marco@it.gnome.org>
* TODO:
* lib/ephy-node.c: (id_factory_set_to):
Fix evil bug in id factory.
Diffstat (limited to 'lib/ephy-node.c')
-rw-r--r-- | lib/ephy-node.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ephy-node.c b/lib/ephy-node.c index c9ee9aa76..19ca32a15 100644 --- a/lib/ephy-node.c +++ b/lib/ephy-node.c @@ -1418,7 +1418,10 @@ ephy_node_new_id (void) static void id_factory_set_to (gulong new_factory_pos) { - id_factory = new_factory_pos + 1; + if (new_factory_pos > id_factory) + { + id_factory = new_factory_pos + 1; + } } /* evillish hacks to temporarily readlock->writelock and v.v. */ |