mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix c++ build
This commit is contained in:
parent
0df82b20fe
commit
42e5853760
2 changed files with 3 additions and 2 deletions
|
|
@ -50,8 +50,8 @@ LONG WINAPI VectoredHandler(struct _EXCEPTION_POINTERS* ExceptionInfo)
|
|||
auto actual_address = ex_address - base_address + 0x140000000;
|
||||
|
||||
FILE* log_handle;
|
||||
errno_t result = _wfopen_s(&log_handle, dalamud_log_path.c_str(), L"a");
|
||||
if (!result)
|
||||
errno_t log_res = _wfopen_s(&log_handle, dalamud_log_path.c_str(), L"a");
|
||||
if (!log_res)
|
||||
{
|
||||
MessageBox(NULL, L"Could not open dalamud.log for writing.", L"Dalamud", MB_OK | MB_ICONERROR | MB_TOPMOST);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue