On Mon, 01 Sep 2003 08:35:33 -0700 Robert Vazan <[EMAIL PROTECTED]> wrote:
RV> Update of /cvsroot/mahogany/M/src/util RV> In directory sc8-pr-cvs1:/tmp/cvs-serv4460/src/util RV> RV> Modified Files: RV> strutil.cpp RV> Log Message: RV> CRLF fix and font fix for minimal editor .. RV> +/** Enforces LF '\n' newline convention. RV> + RV> + @param in string to copy RV> + @return the UNIXified string RV> +*/ RV> +String RV> +strutil_enforceLF(String const &in) I think this should be implemented by calling wxTextFile::Translate(, wxTextFileType_Unix). OTOH I don't know why is it needed at all? All strings inside the program should use '\n' only, doing anything else is a recipe for disaster. Thanks, VZ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
