|
From: andrew7 <bd...@us...> - 2006-11-30 00:39:10
|
Update of /cvsroot/smartwin/SmartWin/include/smartwin/aspects In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv19806/include/smartwin/aspects Modified Files: AspectText.h Log Message: Support unicode Index: AspectText.h =================================================================== RCS file: /cvsroot/smartwin/SmartWin/include/smartwin/aspects/AspectText.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- AspectText.h 5 Nov 2006 17:55:12 -0000 1.17 +++ AspectText.h 30 Nov 2006 00:39:07 -0000 1.18 @@ -181,7 +181,7 @@ std::string::size_type pos= txtEndl.find( '\n', 0 ); while ( std::string::npos != pos ) { - txtEndl.replace( pos, 1, "\r\n" ); + txtEndl.replace( pos, 1, _T("\r\n") ); pos += 2; // Don't find the replacement \n. pos= txtEndl.find( '\n', pos ); } |