talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 341d01e83521893e3a1a4c0f7f4e4d7050ba263d
parent 63e19c6c8e361c2851737d42761923f215c794a9
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Tue, 11 Oct 2016 13:04:36 +0200

Fix wrong argument order in Windows file choosers.

Diffstat:
Msrc/gtk/w32_filesel.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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; }