Commit b3ba89b3 authored by Jan Möbius's avatar Jan Möbius

Unneccesary test and encoding fix

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17563 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 86094771
......@@ -239,7 +239,6 @@ DWORD64
static void MyStrCpy(char* szDest, size_t nMaxDestSize, const char* szSrc)
{
if (nMaxDestSize <= 0) return;
if (strlen(szSrc) < nMaxDestSize)
{
strcpy_s(szDest, nMaxDestSize, szSrc);
......@@ -658,7 +657,7 @@ private:
pGMI = (tGMI) GetProcAddress( hPsapi, "GetModuleInformation" );
if ( (pEPM == NULL) || (pGMFNE == NULL) || (pGMBN == NULL) || (pGMI == NULL) )
{
// we couldnt find all functions
// we couldn't find all functions
FreeLibrary(hPsapi);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment