diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32fns.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */) | |||
| 6635 | 6635 | ||
| 6636 | file_opened = GetOpenFileNameW (file_details_w); | 6636 | file_opened = GetOpenFileNameW (file_details_w); |
| 6637 | } | 6637 | } |
| 6638 | #ifndef NTGUI_UNICODE | ||
| 6638 | else | 6639 | else |
| 6639 | { | 6640 | { |
| 6640 | file_details_a->lpfnHook = file_dialog_callback; | 6641 | file_details_a->lpfnHook = file_dialog_callback; |
| 6641 | 6642 | ||
| 6642 | file_opened = GetOpenFileNameA (file_details_a); | 6643 | file_opened = GetOpenFileNameA (file_details_a); |
| 6643 | } | 6644 | } |
| 6645 | #endif /* !NTGUI_UNICODE */ | ||
| 6644 | unblock_input (); | 6646 | unblock_input (); |
| 6645 | unbind_to (count, Qnil); | 6647 | unbind_to (count, Qnil); |
| 6646 | } | 6648 | } |