This commit is contained in:
Glenn Maynard
2004-11-04 22:56:22 +00:00
parent eda14f3d13
commit 9f06afa9a4
+1 -1
View File
@@ -15,7 +15,7 @@ static bool CodePageConvert(CString &txt, int cp)
return true;
int size = MultiByteToWideChar(cp, MB_ERR_INVALID_CHARS, txt.data(), txt.size(), NULL, 0);
if( size == 0 );
if( size == 0 )
{
LOG->Trace("%s\n", werr_ssprintf(GetLastError(), "err: ").c_str());
return false; /* error */