Skip to content

Commit

Permalink
Revert the unreverted modification for the title arg to win32_show_do…
Browse files Browse the repository at this point in the history
…cument_open_dialog()
  • Loading branch information
konsolebox committed Aug 29, 2016
1 parent 837eb0c commit 04c26d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ static void open_file_dialog_apply_settings(GtkWidget *dialog)
/* This shows the file selection dialog to open a file. */
void dialogs_show_open_file(gboolean recursive)
{
gchar *initdir, *title;
gchar *initdir;

/* set dialog directory to the current file's directory, if present */
initdir = utils_get_current_file_dir_utf8();
Expand All @@ -505,7 +505,7 @@ void dialogs_show_open_file(gboolean recursive)

#ifdef G_OS_WIN32
if (interface_prefs.use_native_windows_dialogs && !recursive)
win32_show_document_open_dialog(GTK_WINDOW(main_widgets.window), title, initdir);
win32_show_document_open_dialog(GTK_WINDOW(main_widgets.window), _("Open File"), initdir);
else
#endif
{
Expand Down

0 comments on commit 04c26d1

Please sign in to comment.