Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
843d2458
Commit
843d2458
authored
Jun 10, 2007
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fx_file_dialog): Take size from struct not pointer.
parent
7940bf7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/w32fns.c
src/w32fns.c
+2
-2
No files found.
src/ChangeLog
View file @
843d2458
2007-06-10 Jason Rumney <jasonr@gnu.org>
* w32fns.c (Fx_file_dialog): Take size from struct not pointer.
2007-06-08 Juanma Barranquero <lekktu@gmail.com>
* callint.c (Fcall_interactively):
...
...
src/w32fns.c
View file @
843d2458
...
...
@@ -7902,9 +7902,9 @@ If ONLY-DIR-P is non-nil, the user can only select directories. */)
/* Apparently NT4 crashes if you give it an unexpected size.
I'm not sure about Windows 9x, so play it safe. */
if (w32_major_version > 4 && w32_major_version < 95)
file_details->lStructSize = sizeof (
new_file_details
);
file_details->lStructSize = sizeof (
NEWOPENFILENAME
);
else
file_details->lStructSize = sizeof (
file_details
);
file_details->lStructSize = sizeof (
OPENFILENAME
);
file_details->hwndOwner = FRAME_W32_WINDOW (f);
/* Undocumented Bug in Common File Dialog:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment