Windows: Fix some format warnings.

This commit is contained in:
Unknown W. Brackets committed 2021-02-14 10:30:10 -08:00
1 parent 6247e4d0ee
commit da2e722794
12 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ void MainThreadFunc() {
std::string full_error = StringFromFormat("%s\n\n%s", genericError, error_string.c_str());
std::wstring title = ConvertUTF8ToWString(err->T("GenericGraphicsError", "Graphics Error"));
bool yes = IDYES == MessageBox(0, ConvertUTF8ToWString(full_error).c_str(), title.c_str(), MB_ICONERROR | MB_YESNO);
ERROR_LOG(BOOT, full_error.c_str());
ERROR_LOG(BOOT, "%s", full_error.c_str());
if (yes) {
// Change the config to the alternative and restart.