Another fix for Cygwin.

This commit is contained in:
Eli Zaretskii 2013-12-10 21:43:02 +02:00
parent 5bdc6977e3
commit 8b55eeeb70

View file

@ -6635,12 +6635,14 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */)
file_opened = GetOpenFileNameW (file_details_w);
}
#ifndef NTGUI_UNICODE
else
{
file_details_a->lpfnHook = file_dialog_callback;
file_opened = GetOpenFileNameA (file_details_a);
}
#endif /* !NTGUI_UNICODE */
unblock_input ();
unbind_to (count, Qnil);
}