]> git.eshelyaron.com Git - emacs.git/commitdiff
2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change)
authorJason Rumney <jasonr@gnu.org>
Mon, 19 Jul 2004 07:58:24 +0000 (07:58 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 19 Jul 2004 07:58:24 +0000 (07:58 +0000)
* w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of
ENCODE_SYSTEM for filenames.

src/ChangeLog
src/w32fns.c

index 0c8b389b65b823c0f4c9a326605bfeacaba3c68a..cb9b391a22d586547bd120fb42a4e4894ae98971 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2004-07-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * mac.c (sys_select): Block input around call to
index d5ba6e9b0789df4158c2db9851c0e796aedcd762..0cb3abe91cdf18c41dd590ad6f933b43c19d49f3 100644 (file)
@@ -7735,14 +7735,14 @@ specified.  Ensure that file exists if MUSTMATCH is non-nil.  */)
   /* 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);