Don't try to archive the data if the archive is NULL

2001-08-23  Bradford Hovinen  <hovinen@ximian.com>

	* main.c: (store_archive_data): Don't try to archive the data
	if the archive is NULL
This commit is contained in:
Bradford Hovinen 2001-08-23 19:16:03 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 768a3d5a46
commit 74b7c332bc
2 changed files with 5 additions and 0 deletions

View file

@ -67,6 +67,9 @@ store_archive_data (void)
xmlDocPtr xml_doc;
CORBA_Environment ev;
if (archive == CORBA_OBJECT_NIL)
return;
CORBA_exception_init (&ev);
if (capplet_get_location () == NULL)