From 5d798acd55f81e552953a58a8fc249f191e688f6 Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Mon, 10 Jan 2005 21:22:54 +0000 Subject: offset the file name to account for the 'hyphen'. * gui/dialogs/cal-attachment-bar.c: (cal_attachment_bar_set_attachment_list): offset the file name to account for the 'hyphen'. svn path=/trunk/; revision=28337 --- calendar/gui/dialogs/cal-attachment-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/cal-attachment-bar.c b/calendar/gui/dialogs/cal-attachment-bar.c index 2dea375a87..4cf24e22f0 100644 --- a/calendar/gui/dialogs/cal-attachment-bar.c +++ b/calendar/gui/dialogs/cal-attachment-bar.c @@ -871,7 +871,7 @@ cal_attachment_bar_set_attachment_list (CalAttachmentBar *bar, GSList *attach_li priv->num_attachments-1); camel_mime_part_set_filename (attach->body, attach_filename + strlen (priv->local_attachment_store)+ - strlen (priv->comp_uid) + 1); + strlen (priv->comp_uid) + 2); update (bar); } } -- cgit