Skip to content

Commit

Permalink
win32: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OV2 committed Mar 24, 2023
1 parent d948ef8 commit ea94129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/wsnes9x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5000,7 +5000,7 @@ INT_PTR CALLBACK DlgInfoProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)

Utf8ToWide romname(Memory.ROMFilename.c_str());
TCHAR rominfo[4096];
_stprintf(rominfo, TEXT("File: %s\r\n%s"), (TCHAR *)romname, _tFromMS932(romtext));
_stprintf(rominfo, TEXT("File: %s\r\n%s"), (TCHAR *)romname, (TCHAR *)_tFromMS932(romtext));

SendDlgItemMessage(hDlg, IDC_ROM_DATA, WM_SETTEXT, 0, (LPARAM)((TCHAR *)rominfo));
break;
Expand Down

0 comments on commit ea94129

Please sign in to comment.