mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
[HostsModuleInterface]Check correct event for error (#28412)
This commit is contained in:
@@ -132,7 +132,7 @@ public:
|
||||
}
|
||||
|
||||
m_hShowAdminEvent = CreateDefaultEvent(CommonSharedConstants::SHOW_HOSTS_ADMIN_EVENT);
|
||||
if (!m_hShowEvent)
|
||||
if (!m_hShowAdminEvent)
|
||||
{
|
||||
Logger::error(L"Failed to create show hosts admin event");
|
||||
auto message = get_last_error_message(GetLastError());
|
||||
|
||||
Reference in New Issue
Block a user