changeset 56480:5e87c40cea58

2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change) * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of ENCODE_SYSTEM for filenames.
author Jason Rumney <jasonr@gnu.org>
date Mon, 19 Jul 2004 07:56:20 +0000
parents 45d805d79d29
children ea3577979c1c
files src/w32fns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Mon Jul 19 06:38:14 2004 +0000
+++ b/src/w32fns.c	Mon Jul 19 07:56:20 2004 +0000
@@ -7735,14 +7735,14 @@
   /* Create the dialog with PROMPT as title, using DIR as initial
      directory and using "*" as pattern.  */
   dir = Fexpand_file_name (dir, Qnil);
-  strncpy (init_dir, SDATA (ENCODE_SYSTEM (dir)), MAX_PATH);
+  strncpy (init_dir, SDATA (ENCODE_FILE (dir)), MAX_PATH);
   init_dir[MAX_PATH] = '\0';
   unixtodos_filename (init_dir);
 
   if (STRINGP (default_filename))
     {
       char *file_name_only;
-      char *full_path_name = SDATA (ENCODE_SYSTEM (default_filename));
+      char *full_path_name = SDATA (ENCODE_FILE (default_filename));
 
       unixtodos_filename (full_path_name);