From: Eli Zaretskii Date: Tue, 10 Dec 2013 19:43:02 +0000 (+0200) Subject: Another fix for Cygwin. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~446^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b55eeeb70be4b4ff3dd4694013bdb1a9f668bc6;p=emacs.git Another fix for Cygwin. --- diff --git a/src/w32fns.c b/src/w32fns.c index d6c6b7d5320..99a2c4bdaf2 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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); }