Do not touch NULL xml

This commit is contained in:
Yevgen Muntyan 2008-01-05 04:03:04 -06:00
parent cce46a875e
commit c2cd2b6a17

View File

@ -1306,7 +1306,8 @@ moo_prefs_save (const char *file_rc,
if (save_file (file_rc, MOO_PREFS_RC, error))
{
_moo_markup_set_modified (prefs->xml_rc, FALSE);
if (prefs->xml_rc)
_moo_markup_set_modified (prefs->xml_rc, FALSE);
moo_prefs_set_modified (FALSE);
}
else