Mercurial > hg > xemacs-beta
diff src/fileio.c @ 4867:7822019c5d98
Revert cast in check_writable() and fix up macros to use const.
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Sun, 17 Jan 2010 22:08:56 -0500 |
parents | a03421eb562b |
children | 19a72041c5ed |
line wrap: on
line diff
--- a/src/fileio.c Sat Jan 16 19:04:52 2010 +0000 +++ b/src/fileio.c Sun Jan 17 22:08:56 2010 -0500 @@ -2344,7 +2344,7 @@ DWORD dwAccessAllowed; Extbyte *fnameext; - LOCAL_FILE_FORMAT_TO_TSTR ((Ibyte *)filename, fnameext); + LOCAL_FILE_FORMAT_TO_TSTR (filename, fnameext); // First check for a normal file with the old-style readonly bit attributes = qxeGetFileAttributes(fnameext);