Windows Port: Fix compiling issue that prevented building. (Regression from commit 7fb5a58.)

This commit is contained in:
rogerman 2023-06-30 15:58:22 -07:00
parent 7fb5a5871b
commit 4e7926eaa1
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ INT_PTR CALLBACK CheatsAdd_XX_Proc(HWND dialog, UINT msg,WPARAM wparam,LPARAM lp
char buf[sizeof(tempCheat.code)*2] = { 0 };
memset(buf, 0, sizeof(buf));
cheats->getXXcodeString(tempCheat, buf);
CHEATS::StringFromXXCode(tempCheat, buf);
std::string bufstr = mass_replace(buf,"\n","\r\n");
SetWindowText(GetDlgItem(dialog, IDC_EDIT2), bufstr.c_str());
SetWindowText(GetDlgItem(dialog, IDC_EDIT3), tempCheat.description);