diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/summaryview.c | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2011-01-24 + + * src/summaryview.c: fixed warnings about non-string literal format. + 2011-01-21 * src/addressbook.c: fixed double underline in menu label diff --git a/src/summaryview.c b/src/summaryview.c index 8429839d..478f287f 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -1523,7 +1523,7 @@ static void summary_select_prev_flagged(SummaryView *summaryview, if (!found) { if (notice) - alertpanel_notice(notice); + alertpanel_notice("%s", notice); } else { gboolean visible; visible = messageview_is_visible(summaryview->messageview); @@ -1569,7 +1569,7 @@ static void summary_select_next_flagged(SummaryView *summaryview, if (!found) { if (notice) - alertpanel_notice(notice); + alertpanel_notice("%s", notice); } else { gboolean visible; visible = messageview_is_visible(summaryview->messageview); @@ -2694,7 +2694,7 @@ gint summary_write_cache(SummaryView *summaryview) if (item->cache_dirty) { buf = g_strdup_printf(_("Writing summary cache (%s)..."), item->path); - debug_print(buf); + debug_print("%s", buf); STATUSBAR_PUSH(summaryview->mainwin, buf); gdk_flush(); g_free(buf); |