On Sat, 11 Oct 2003 18:41:24 -0700 Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> Update of /cvsroot/mahogany/M/src/util NB> In directory sc8-pr-cvs1:/tmp/cvs-serv12564/src/util NB> NB> Modified Files: NB> strutil.cpp NB> Log Message: NB> unicode fixes NB> NB> Index: strutil.cpp NB> =================================================================== NB> RCS file: /cvsroot/mahogany/M/src/util/strutil.cpp,v NB> retrieving revision 1.119 NB> retrieving revision 1.120 NB> diff -b -u -2 -r1.119 -r1.120 NB> --- strutil.cpp 3 Oct 2003 15:11:21 -0000 1.119 NB> +++ strutil.cpp 12 Oct 2003 01:41:21 -0000 1.120 NB> @@ -200,4 +200,12 @@ NB> } NB> NB> +wxChar * NB> +strutil_strdup(const wxChar *in) NB> +{ NB> + wxChar *cptr = new wxChar[strlen(in)+1]; NB> + wxStrcpy(cptr,in); NB> + return cptr; NB> +} NB> + NB> char * NB> strutil_strdup(const char *in) This is not going to work in ANSI build, is it? When wxChar and char are the same you'd have 2 definitions of the same function... VZ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers