From 8b55eeeb70be4b4ff3dd4694013bdb1a9f668bc6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 10 Dec 2013 21:43:02 +0200 Subject: [PATCH] Another fix for Cygwin. --- src/w32fns.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.2