Use only one secure_fprintf() call instead of two.
authorLaurent Monin <geeqie@norz.org>
Thu, 24 Apr 2008 15:44:43 +0000 (15:44 +0000)
committerLaurent Monin <geeqie@norz.org>
Thu, 24 Apr 2008 15:44:43 +0000 (15:44 +0000)
src/ui_bookmark.c

index 797651f..0bad364 100644 (file)
@@ -152,8 +152,7 @@ gint history_list_save(const gchar *path)
                return FALSE;
                }
 
-       secure_fprintf(ssi, "#History lists\n");
-       secure_fprintf(ssi, "\n");
+       secure_fprintf(ssi, "#History lists\n\n");
 
        list = g_list_last(history_list);
        while(list && secsave_errno == SS_ERR_NONE)