aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2007-06-10 23:38:37 +0000
committerJason Rumney2007-06-10 23:38:37 +0000
commit843d24582cc0f542fdeb858dd004dc4cb18b761c (patch)
treec06f1301fa6f3fce6982f55469a74d99e9e1e5c9 /src
parent7940bf7dc0a572e6d05bb198c738b436657210f1 (diff)
downloademacs-843d24582cc0f542fdeb858dd004dc4cb18b761c.tar.gz
emacs-843d24582cc0f542fdeb858dd004dc4cb18b761c.zip
(Fx_file_dialog): Take size from struct not pointer.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/w32fns.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 993a889293d..a2e1e5b8484 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12007-06-10 Jason Rumney <jasonr@gnu.org>
2
3 * w32fns.c (Fx_file_dialog): Take size from struct not pointer.
4
12007-06-08 Juanma Barranquero <lekktu@gmail.com> 52007-06-08 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * callint.c (Fcall_interactively): 7 * callint.c (Fcall_interactively):
diff --git a/src/w32fns.c b/src/w32fns.c
index 8cac4ea2376..fd8df29affa 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7902,9 +7902,9 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
7902 /* Apparently NT4 crashes if you give it an unexpected size. 7902 /* Apparently NT4 crashes if you give it an unexpected size.
7903 I'm not sure about Windows 9x, so play it safe. */ 7903 I'm not sure about Windows 9x, so play it safe. */
7904 if (w32_major_version > 4 && w32_major_version < 95) 7904 if (w32_major_version > 4 && w32_major_version < 95)
7905 file_details->lStructSize = sizeof (new_file_details); 7905 file_details->lStructSize = sizeof (NEWOPENFILENAME);
7906 else 7906 else
7907 file_details->lStructSize = sizeof (file_details); 7907 file_details->lStructSize = sizeof (OPENFILENAME);
7908 7908
7909 file_details->hwndOwner = FRAME_W32_WINDOW (f); 7909 file_details->hwndOwner = FRAME_W32_WINDOW (f);
7910 /* Undocumented Bug in Common File Dialog: 7910 /* Undocumented Bug in Common File Dialog: