oops, typo fix, sorry

This commit is contained in:
mtabachenko 2009-12-20 13:53:46 +00:00
parent 039e177db6
commit 9d56185bc2
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ INT_PTR CALLBACK CheatsAdd_XX_Proc(HWND dialog, UINT msg,WPARAM wparam,LPARAM lp
}
}
SendMessage(GetDlgItem(dialog, IDC_EDIT2), EM_SETLIMITTEXT, sizeof(tempCheat.code) * 1, 0);
SendMessage(GetDlgItem(dialog, IDC_EDIT2), EM_SETLIMITTEXT, sizeof(tempCheat.code) * 2, 0);
SendMessage(GetDlgItem(dialog, IDC_EDIT3), EM_SETLIMITTEXT, sizeof(tempCheat.description), 0);
if (cheatXXaction != 0)