Commit f8a58bac authored by Jason Rumney's avatar Jason Rumney
Browse files

(Fx_file_dialog): Decode file name before using.

parent 54a0ce0f
...@@ -14287,7 +14287,7 @@ specified. Ensure that file exists if MUSTMATCH is non-nil. */) ...@@ -14287,7 +14287,7 @@ specified. Ensure that file exists if MUSTMATCH is non-nil. */)
if (GetOpenFileName (&file_details)) if (GetOpenFileName (&file_details))
{ {
dostounix_filename (filename); dostounix_filename (filename);
file = build_string (filename); file = DECODE_FILE(build_string (filename));
} }
else else
file = Qnil; file = Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment