/[emacs]/emacs/src/w32fns.c
ViewVC logotype

Diff of /emacs/src/w32fns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.173.2.13 by miles, Tue Jul 6 10:23:40 2004 UTC revision 1.173.2.14 by miles, Sat Jul 17 02:51:58 2004 UTC
# Line 7735  specified.  Ensure that file exists if M Line 7735  specified.  Ensure that file exists if M
7735    /* Create the dialog with PROMPT as title, using DIR as initial    /* Create the dialog with PROMPT as title, using DIR as initial
7736       directory and using "*" as pattern.  */       directory and using "*" as pattern.  */
7737    dir = Fexpand_file_name (dir, Qnil);    dir = Fexpand_file_name (dir, Qnil);
7738    strncpy (init_dir, SDATA (dir), MAX_PATH);    strncpy (init_dir, SDATA (ENCODE_SYSTEM (dir)), MAX_PATH);
7739    init_dir[MAX_PATH] = '\0';    init_dir[MAX_PATH] = '\0';
7740    unixtodos_filename (init_dir);    unixtodos_filename (init_dir);
7741    
7742    if (STRINGP (default_filename))    if (STRINGP (default_filename))
7743      {      {
7744        char *file_name_only;        char *file_name_only;
7745        char *full_path_name = SDATA (default_filename);        char *full_path_name = SDATA (ENCODE_SYSTEM (default_filename));
7746    
7747        unixtodos_filename (full_path_name);        unixtodos_filename (full_path_name);
7748    

Legend:
Removed from v.1.173.2.13  
changed lines
  Added in v.1.173.2.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26