mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Some logging, cleanup
This commit is contained in:
parent
e09c43b8de
commit
446c7e3877
2 changed files with 18 additions and 14 deletions
|
|
@ -449,9 +449,9 @@ bool veh::remove_handler()
|
|||
return false;
|
||||
}
|
||||
|
||||
void veh::raise_external_event(const std::wstring& errorMessage)
|
||||
void veh::raise_external_event(const std::wstring& info)
|
||||
{
|
||||
const auto info_size = std::min(errorMessage.size(), std::size(g_external_event_info) - 1);
|
||||
wcsncpy_s(g_external_event_info, errorMessage.c_str(), info_size);
|
||||
const auto info_size = std::min(info.size(), std::size(g_external_event_info) - 1);
|
||||
wcsncpy_s(g_external_event_info, info.c_str(), info_size);
|
||||
RaiseException(CUSTOM_EXCEPTION_EXTERNAL_EVENT, 0, 0, nullptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue