diff src/toc.c @ 229:e8ea7f37e28f

[gaim-migrate @ 239] One minor tweak to the buddy list cache. If we read a non-zero buddy list from TOC and there is not a cache yet, create it. committer: Tailor Script <tailor@pidgin.im>
author Syd Logan <slogan>
date Wed, 10 May 2000 08:29:02 +0000
parents f3b61c04f44e
children 6ced2f1c8b24
line wrap: on
line diff
--- a/src/toc.c	Wed May 10 07:41:25 2000 +0000
+++ b/src/toc.c	Wed May 10 08:29:02 2000 +0000
@@ -900,5 +900,7 @@
 
 	if ( how_many == 0 ) {
 		do_import( (GtkWidget *) NULL, 0 );
+	} else if ( bud_list_cache_exists() == FALSE ) {
+		do_export( (GtkWidget *) NULL, 0 );	
 	}
  }