diff options
| author | Eli Zaretskii | 2013-12-11 19:17:49 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-11 19:17:49 +0200 |
| commit | 893fcd38e9ef6bcb50dd9e9ed1de7caf194f8a83 (patch) | |
| tree | 7ba0879f81ec830d6d11080ceeab45b2ca390a06 /src | |
| parent | 0ec6c340e90369b5921b35bed3bd4cfc0368723e (diff) | |
| download | emacs-893fcd38e9ef6bcb50dd9e9ed1de7caf194f8a83.tar.gz emacs-893fcd38e9ef6bcb50dd9e9ed1de7caf194f8a83.zip | |
One more change by Ken Brown to avoid breaking Cygwin.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 99a2c4bdaf2..e5d899d8a15 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -6668,7 +6668,10 @@ Otherwise, if ONLY-DIR-P is non-nil, the user can only select directories. */) | |||
| 6668 | /* Strip the dummy filename off the end of the string if we | 6668 | /* Strip the dummy filename off the end of the string if we |
| 6669 | added it to select a directory. */ | 6669 | added it to select a directory. */ |
| 6670 | if (use_unicode && file_details_w->nFilterIndex == 2 | 6670 | if (use_unicode && file_details_w->nFilterIndex == 2 |
| 6671 | || !use_unicode && file_details_a->nFilterIndex == 2) | 6671 | #ifndef NTGUI_UNICODE |
| 6672 | || !use_unicode && file_details_a->nFilterIndex == 2 | ||
| 6673 | #endif | ||
| 6674 | ) | ||
| 6672 | filename = Ffile_name_directory (filename); | 6675 | filename = Ffile_name_directory (filename); |
| 6673 | } | 6676 | } |
| 6674 | /* User canceled the dialog without making a selection. */ | 6677 | /* User canceled the dialog without making a selection. */ |