Merge pull request #2400 from jarupxx/dialog

This commit is contained in:
PatrickvL 2022-09-24 07:24:38 +02:00 committed by GitHub
commit c594e34ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -973,7 +973,7 @@ LRESULT CALLBACK WndMain::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
bInfo.pidlRoot = nullptr;
bInfo.pszDisplayName = szDir;
bInfo.lpszTitle = "Please, select a folder";
bInfo.ulFlags = BIF_NEWDIALOGSTYLE, BIF_EDITBOX, BIF_VALIDATE;
bInfo.ulFlags = BIF_NEWDIALOGSTYLE | BIF_EDITBOX | BIF_VALIDATE;
bInfo.lpfn = nullptr;
bInfo.lParam = 0;
bInfo.iImage = -1;
@ -1956,7 +1956,7 @@ void WndMain::OpenXbe(const char *x_filename)
}
std::string errorMsg;
if (!g_Settings->m_gui.bIgnoreInvalidXbeSig && !m_Xbe->CheckSignature()) {
errorMsg += "- XBE signature check failed!\n";
}