Add the extension to the file name

This commit is contained in:
Nekokabu 2015-12-02 21:32:53 +09:00
parent 55bc654e8b
commit 17657d6eb7
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ DWORD CALLBACK RomInfoProc (HWND hDlg, DWORD uMsg, DWORD wParam, DWORD lParam) {
_splitpath(_this->m_pRomInfo->GetFileName().c_str(), drive, dir, fname, ext);
_makepath(path, drive, dir, "", "");
SetDlgItemText(hDlg,IDC_INFO_FILENAME,fname);
SetDlgItemText(hDlg,IDC_INFO_LOCATION,path);
SetDlgItemText(hDlg, IDC_INFO_FILENAME, stdstr_f("%s%s", fname, ext).c_str());
SetDlgItemText(hDlg, IDC_INFO_LOCATION, path);
SetDlgItemText(hDlg,IDC_INFO_MD5,_this->m_pRomInfo->GetRomMD5().c_str());