Bug fixes

This commit is contained in:
binarymaster 2014-12-10 02:17:24 +03:00
parent b5b5806177
commit ac5cb9e480

View File

@ -509,6 +509,7 @@ void Hook()
{ {
memset(&ConfigFile[i+1], 0x00, ((256-(i+1)))*2); memset(&ConfigFile[i+1], 0x00, ((256-(i+1)))*2);
memcpy(&ConfigFile[i+1], L"rdpwrap.ini", strlen("rdpwrap.ini")*2); memcpy(&ConfigFile[i+1], L"rdpwrap.ini", strlen("rdpwrap.ini")*2);
break;
} }
} }
@ -536,6 +537,7 @@ void Hook()
{ {
memset(&LogFile[i+1], 0x00, ((256-(i+1)))*2); memset(&LogFile[i+1], 0x00, ((256-(i+1)))*2);
memcpy(&LogFile[i+1], L"rdpwrap.txt", strlen("rdpwrap.txt")*2); memcpy(&LogFile[i+1], L"rdpwrap.txt", strlen("rdpwrap.txt")*2);
break;
} }
} }
} }