aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-threads.c2
-rw-r--r--mail/mail-threads.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c1beb752d4..f9eaf33960 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-01 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * mail-threads.c (mail_op_set_message): fmt argument should be
+ const.
+
2000-11-01 Dan Winship <danw@helixcode.com>
Make "Get Mail" even more functional on IMAP (scans all folders),
@@ -105,7 +110,7 @@
strdup'ing the content? This seems to fix the memory corruption
problems.
(mail_generate_reply): Make sure that the last char in the
- generated reply text is '\0' (when bodt text doesn't end with a
+ generated reply text is '\0' (when body text doesn't end with a
\n, a random char will appear otherwise).
2000-10-31 Dan Winship <danw@helixcode.com>
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index d37d55ed90..fae28cbcfb 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -394,7 +394,7 @@ mail_op_show_progressbar (void)
**/
void
-mail_op_set_message (gchar * fmt, ...)
+mail_op_set_message (const gchar *fmt, ...)
{
com_msg_t msg;
va_list val;
diff --git a/mail/mail-threads.h b/mail/mail-threads.h
index e27f07d789..d3872276f3 100644
--- a/mail/mail-threads.h
+++ b/mail/mail-threads.h
@@ -58,7 +58,7 @@ void mail_op_hide_progressbar (void);
void mail_op_show_progressbar (void);
#endif
-void mail_op_set_message (gchar * fmt, ...) G_GNUC_PRINTF (1, 2);
+void mail_op_set_message (const gchar *fmt, ...) G_GNUC_PRINTF (1, 2);
void mail_op_error (gchar * fmt, ...) G_GNUC_PRINTF (1, 2);
gboolean mail_op_get_password (gchar * prompt, gboolean secret,
gchar ** dest);