aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-20 10:50:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-20 10:50:05 +0000
commitffc3e6ae63e6cc882ee32ee2d3a9fd46980f7b03 (patch)
tree56af214cf018f823a4e509ef96c4c4c6841c5325 /src/main.c
parent3206d072bf2428930bea2d4c7a66bd68db1a467c (diff)
fixed compilation bug on win32.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@917 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index f06aab38..c27a4005 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1141,7 +1141,7 @@ static void open_compose_new(const gchar *address, GPtrArray *attach_files)
#ifdef G_OS_WIN32
if (attach_files) {
gint i;
- gchar *utf8file;
+ gchar *file, *utf8file;
utf8files = g_ptr_array_new();
for (i = 0; i < attach_files->len; i++) {
@@ -1155,7 +1155,7 @@ static void open_compose_new(const gchar *address, GPtrArray *attach_files)
compose_new(NULL, NULL, utf8addr, utf8files);
if (utf8files) {
ptr_array_free_strings(utf8files);
- g_ptr_array_free(utf8files);
+ g_ptr_array_free(utf8files, TRUE);
}
#else
compose_new(NULL, NULL, utf8addr, attach_files);