Logic fix.

2001-07-12  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_get_current_location_id): Logic fix.
This commit is contained in:
Bradford Hovinen 2001-07-12 20:32:09 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 85bc24c3f4
commit d6ec57650d
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
2001-07-12 Bradford Hovinen <hovinen@ximian.com>
* archive.c (archive_destroy): Clear appropriate global archive pointer
(archive_get_current_location_id): Logic fix.
2001-07-12 Chema Celorio <chema@celorio.com>

View file

@ -527,7 +527,7 @@ archive_get_current_location_id (Archive *archive)
(location_new (archive,
archive->current_location_id,
NULL));
if (!archive->is_global ||
if (archive->is_global &&
location_store_full_snapshot (loc) < 0)
{
location_delete (loc);