diff src/bar_info.c @ 1220:a0c249bcc4ff

allow writing of empty keywords/comment
author nadvornik
date Tue, 23 Dec 2008 22:42:57 +0000
parents 86fcbd0fcb7b
children 18d08b10b80e
line wrap: on
line diff
--- a/src/bar_info.c	Tue Dec 23 20:53:44 2008 +0000
+++ b/src/bar_info.c	Tue Dec 23 22:42:57 2008 +0000
@@ -403,7 +403,7 @@
 	list = keyword_list_pull(bd->keyword_view);
 	comment = comment_pull(bd->comment_view);
 
-	metadata_write(bd->fd, list, comment);
+	metadata_write(bd->fd, &list, &comment);
 
 	string_list_free(list);
 	g_free(comment);