TONY: Fixed some more Valgrid identified errors

This commit is contained in:
Paul Gilbert 2012-05-05 09:56:06 +10:00
parent cd41c55799
commit 91328fce56
2 changed files with 3 additions and 3 deletions

View File

@ -1055,8 +1055,8 @@ void RMFontCredits::Init(void) {
cTable[(byte)'é'] = 57;
// cTable[''] = 58; // e ^
// cTable[''] = 59; // e pallini
cTable['ì'] = 60;
cTable['í'] = 61;
cTable[(byte)'ì'] = 60;
cTable[(byte)'í'] = 61;
// cTable[''] = 62; // i ^
// cTable[''] = 63; // i pallini
cTable[(byte)'ò'] = 64;

View File

@ -1518,7 +1518,7 @@ static HANDLE DoAction(uint32 nAction, uint32 ordItem, uint32 dwParam) {
return INVALID_HANDLE_VALUE;
// Nella nuova versione scriviamo il numero dell'azione in dwRes
CopyMemory(newitem,item,sizeof(MPALITEM));
Common::copy((byte *)item, (byte *)item + sizeof(MPALITEM), (byte *)newitem);
/* newitem->Action[0].nCmds=item->Action[i].nCmds;
CopyMemory(newitem->Action[0].CmdNum,item->Action[i].CmdNum,newitem->Action[0].nCmds*sizeof(newitem->Action[0].CmdNum[0]));
*/