Mercurial > hg > xemacs-beta
comparison src/buffer.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | 87084e8445a7 |
children | 61855263cb07 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
2866 } | 2866 } |
2867 | 2867 |
2868 #ifdef WIN32_NATIVE | 2868 #ifdef WIN32_NATIVE |
2869 { | 2869 { |
2870 Ibyte *newinit = mswindows_canonicalize_filename (initial_directory); | 2870 Ibyte *newinit = mswindows_canonicalize_filename (initial_directory); |
2871 xfree (initial_directory); | 2871 xfree (initial_directory, Ibyte *); |
2872 initial_directory = newinit; | 2872 initial_directory = newinit; |
2873 } | 2873 } |
2874 | 2874 |
2875 { | 2875 { |
2876 /* Make the real wd be the location of xemacs.exe to avoid conflicts | 2876 /* Make the real wd be the location of xemacs.exe to avoid conflicts |
2884 p = xetcsrchr (modname, '\\'); | 2884 p = xetcsrchr (modname, '\\'); |
2885 assert (p); | 2885 assert (p); |
2886 XECOPY_TCHAR (p, '\0'); | 2886 XECOPY_TCHAR (p, '\0'); |
2887 | 2887 |
2888 qxeSetCurrentDirectory (modname); | 2888 qxeSetCurrentDirectory (modname); |
2889 xfree (modname); | 2889 xfree (modname, Extbyte *); |
2890 } | 2890 } |
2891 #endif | 2891 #endif |
2892 } | 2892 } |
2893 | 2893 |
2894 void | 2894 void |