Fix wrong argument order in Windows file choosers.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Oct 2016 11:04:36 +0000 (13:04 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Oct 2016 11:04:36 +0000 (13:04 +0200)
src/gtk/w32_filesel.c

index 651ad8da4a61955e45f86169cb45cccf7f9b1b9a..418c9989fd0444432bc04d3b0b3073ad1c3aa7b2 100644 (file)
@@ -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;
        }