Another fix for Cygwin.
This commit is contained in:
parent
5bdc6977e3
commit
8b55eeeb70
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue