[Box Backup-commit] COMMIT r1120 - box/trunk/lib/win32

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Fri Oct 27 20:14:52 BST 2006


Author: chris
Date: 2006-10-27 20:14:52 +0100 (Fri, 27 Oct 2006)
New Revision: 1120

Modified:
   box/trunk/lib/win32/emu.cpp
Log:
Use our own ConvertUtf8ToWideString for simplicity.


Modified: box/trunk/lib/win32/emu.cpp
===================================================================
--- box/trunk/lib/win32/emu.cpp	2006-10-27 19:14:16 UTC (rev 1119)
+++ box/trunk/lib/win32/emu.cpp	2006-10-27 19:14:52 UTC (rev 1120)
@@ -372,7 +372,7 @@
 // --------------------------------------------------------------------------
 bool ConvertUtf8ToConsole(const char* pString, std::string& rDest)
 {
-	WCHAR* pWide = ConvertToWideString(pString, CP_UTF8);
+	WCHAR* pWide = ConvertUtf8ToWideString(pString);
 	if (pWide == NULL)
 	{
 		return false;




More information about the Boxbackup-commit mailing list