[Commits] [SCM] claws branch, master, updated. 3.14.0-112-g341d01e

ticho at claws-mail.org ticho at claws-mail.org
Tue Oct 11 13:05:11 CEST 2016


The branch, master has been updated
       via  341d01e83521893e3a1a4c0f7f4e4d7050ba263d (commit)
      from  63e19c6c8e361c2851737d42761923f215c794a9 (commit)

Summary of changes:
 src/gtk/w32_filesel.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 341d01e83521893e3a1a4c0f7f4e4d7050ba263d
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Oct 11 13:04:36 2016 +0200

    Fix wrong argument order in Windows file choosers.

diff --git a/src/gtk/w32_filesel.c b/src/gtk/w32_filesel.c
index 651ad8d..418c998 100644
--- a/src/gtk/w32_filesel.c
+++ b/src/gtk/w32_filesel.c
@@ -219,7 +219,7 @@ gchar *filesel_select_file_open_with_filter(const gchar *title, const gchar *pat
 	GError *error = NULL;
 
 	o.lpstrFile = g_malloc0(MAXPATHLEN);
-	if (!_file_open_dialog(title, path, filter, FALSE)) {
+	if (!_file_open_dialog(path, title, filter, FALSE)) {
 		g_free(o.lpstrFile);
 		return NULL;
 	}
@@ -247,7 +247,7 @@ GList *filesel_select_multiple_files_open_with_filter(const gchar *title,
 	GError *error = NULL;
 
 	o.lpstrFile = g_malloc0(MAXPATHLEN);
-	if (!_file_open_dialog(title, path, filter, TRUE)) {
+	if (!_file_open_dialog(path, title, filter, TRUE)) {
 		g_free(o.lpstrFile);
 		return NULL;
 	}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list