[Box Backup-commit] COMMIT r947 - box/chris/merge/lib/win32

subversion at fluffy.co.uk subversion at fluffy.co.uk
Sat Sep 2 12:50:26 BST 2006


Author: chris
Date: 2006-09-02 12:50:26 +0100 (Sat, 02 Sep 2006)
New Revision: 947

Modified:
   box/chris/merge/lib/win32/emu.cpp
Log:
(refs #3)

Use our own ConvertUtf8ToWideString for simplicity


Modified: box/chris/merge/lib/win32/emu.cpp
===================================================================
--- box/chris/merge/lib/win32/emu.cpp	2006-09-02 11:45:11 UTC (rev 946)
+++ box/chris/merge/lib/win32/emu.cpp	2006-09-02 11:50:26 UTC (rev 947)
@@ -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