Mercurial > hg > xemacs-beta
diff src/dialog-msw.c @ 4834:b3ea9c582280
Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 12 Jan 2010 01:38:04 -0600 |
parents | 1e7cc382eb16 |
children | 95c4ced5c07c |
line wrap: on
line diff
--- a/src/dialog-msw.c Sun Jan 10 01:06:15 2010 -0600 +++ b/src/dialog-msw.c Tue Jan 12 01:38:04 2010 -0600 @@ -394,7 +394,7 @@ BIF_RETURNONLYFSDIRS | BIF_STATUSTEXT | BIF_EDITBOX | BIF_NEWDIALOGSTYLE; bi.lpfn = handle_directory_proc; - LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (build_string (""), Qnil), + LISP_LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (build_string (""), Qnil), pd.fname); { @@ -406,7 +406,7 @@ LISP_STRING_TO_EXTERNAL (value, bi.lpszTitle, Qmswindows_tstr); } else if (EQ (key, Q_initial_directory)) - LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (value, Qnil), + LISP_LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (value, Qnil), pd.fname); else if (EQ (key, Q_initial_filename)) ; /* do nothing */ @@ -468,7 +468,7 @@ ofn.nMaxFile = sizeof (fnbuf) / XETCHAR_SIZE; qxetcscpy (fnbuf, XETEXT ("")); - LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (build_string (""), Qnil), + LISP_LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (build_string (""), Qnil), ofn.lpstrInitialDir); { @@ -479,7 +479,7 @@ Extbyte *fnout; CHECK_STRING (value); - LOCAL_FILE_FORMAT_TO_TSTR (value, fnout); + LISP_LOCAL_FILE_FORMAT_TO_TSTR (value, fnout); qxetcscpy (fnbuf, fnout); } else if (EQ (key, Q_title)) @@ -488,7 +488,7 @@ LISP_STRING_TO_TSTR (value, ofn.lpstrTitle); } else if (EQ (key, Q_initial_directory)) - LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (value, Qnil), + LISP_LOCAL_FILE_FORMAT_TO_TSTR (Fexpand_file_name (value, Qnil), ofn.lpstrInitialDir); else if (EQ (key, Q_file_must_exist)) {