]> git.eshelyaron.com Git - emacs.git/commitdiff
Another fix for Cygwin.
authorEli Zaretskii <eliz@gnu.org>
Tue, 10 Dec 2013 19:43:02 +0000 (21:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 10 Dec 2013 19:43:02 +0000 (21:43 +0200)
src/w32fns.c

index d6c6b7d53200e0ccbf5d9890946054fa13c31bde..99a2c4bdaf2d4b7867342b6c5ea84daa2a7db0c5 100644 (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);
     }