comparison src/w32fns.c @ 83632:cc587bfd19ca

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 781-792) - Update from CVS - Merge from gnus--rel--5.10 - Merge from emacs--rel--22 * emacs--rel--22 (patch 33-41) * gnus--rel--5.10 (patch 226-228) - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-21
author Miles Bader <miles@gnu.org>
date Mon, 11 Jun 2007 01:00:07 +0000
parents 5da6a46ddbd6 812aa5cd4e41
children 0ece58f6e0aa
comparison
equal deleted inserted replaced
83631:7d63b897231b 83632:cc587bfd19ca
7923 7923
7924 bzero (&new_file_details, sizeof (new_file_details)); 7924 bzero (&new_file_details, sizeof (new_file_details));
7925 /* Apparently NT4 crashes if you give it an unexpected size. 7925 /* Apparently NT4 crashes if you give it an unexpected size.
7926 I'm not sure about Windows 9x, so play it safe. */ 7926 I'm not sure about Windows 9x, so play it safe. */
7927 if (w32_major_version > 4 && w32_major_version < 95) 7927 if (w32_major_version > 4 && w32_major_version < 95)
7928 file_details->lStructSize = sizeof (new_file_details); 7928 file_details->lStructSize = sizeof (NEWOPENFILENAME);
7929 else 7929 else
7930 file_details->lStructSize = sizeof (file_details); 7930 file_details->lStructSize = sizeof (OPENFILENAME);
7931 7931
7932 file_details->hwndOwner = FRAME_W32_WINDOW (f); 7932 file_details->hwndOwner = FRAME_W32_WINDOW (f);
7933 /* Undocumented Bug in Common File Dialog: 7933 /* Undocumented Bug in Common File Dialog:
7934 If a filter is not specified, shell links are not resolved. */ 7934 If a filter is not specified, shell links are not resolved. */
7935 file_details->lpstrFilter = "All Files (*.*)\0*.*\0Directories\0*|*\0\0"; 7935 file_details->lpstrFilter = "All Files (*.*)\0*.*\0Directories\0*|*\0\0";