mirror of
https://github.com/brain-hackers/brainlilo
synced 2024-12-21 19:50:05 +09:00
Pass string literals to ShowMessage
This commit is contained in:
parent
78554fba0b
commit
dc1bb3a88d
@ -210,7 +210,7 @@ static bool doLinux()
|
||||
if (hUBoot == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
OutputDebugString(L"Could not open the bootloader");
|
||||
ShowMessage(std::string("Could not open the bootloader: ") + fn, std::string("BrainLILO"), MB_ICONWARNING);
|
||||
ShowMessage("Could not open the bootloader: " + fn, "BrainLILO", MB_ICONWARNING);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -225,7 +225,7 @@ static bool doLinux()
|
||||
if (!ReadFile(hUBoot, (void *)0xa0000000, FileSize, &wReadSize, NULL))
|
||||
{
|
||||
OutputDebugString(L"Could not read the bootloader");
|
||||
ShowMessage(std::string("Could not read the bootloader"), std::string("BrainLILO"), MB_ICONWARNING);
|
||||
ShowMessage("Could not read the bootloader", "BrainLILO", MB_ICONWARNING);
|
||||
return false;
|
||||
}
|
||||
OutputDebugString(L"BrainLILO: Bootloader copied! Closing file handle...");
|
||||
|
Loading…
Reference in New Issue
Block a user